in reply to mkdir problem on windows

Hi,
you can use mkdir with system(), but M$ mkdir does not understand forward slashes. It only takes Windows paths with baskslashes. In Perl again, you need to escape the backslash.
Also, the -p switch is a Unix parameter:
$foldername = "Test1\\Test2"; #double backslash! system "mkdir $foldername";
Regards,
svenXY

Replies are listed 'Best First'.
Re^2: mkdir problem on windows
by Anonymous Monk on May 29, 2014 at 08:37 UTC
    thank you its helped me!!