The thing is directory "work" also needs to be created first and then work/startup.Is the below "if condition" right to check if a directory "work" already exists?
if ( ! -e 'work' )#Is this condition right? { print "creating work/startup directory\n"; mkdir 'work' or do { print "create install directory failed because :$!\n"; exit 1; }; mkdir 'work/startup' or do { print "create work/startup directory failed because :$!\n"; exit 1; }; }
In reply to Re^2: Failed to create work\\startup directory
by Anonymous Monk
in thread Failed to create work\\startup directory
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |