Hi, I am trying to create a directory "work\\startup" if it doesnt exist using the following code,it fails to create the directory?Appreciate any inputs?
my $cmdls = system("ls work\\startup"); if ($cmdls != 0) { print "create work\\startup directory\n"; my $cmdmkdir = system("mkdir work\\startup"); if ($cmdmkdir != 0) { print("create work\\startup directory failed\n"); exit 1; } }
In reply to Failed to create work\\startup directory by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |