my $TESTDIR = getcwd() . "\\test<file://test>"; my $MVCMD = "mv test.txt " . $TESTDIR . "\\test.txt<file://test.txt>"; my $RMCMD = "rm " . $TESTDIR . "\\test.txt test2.txt<file://test.txt%20test2.txt>";
Even using Strawberry Perl, "<file://xxx>" in above lines cause error. Oh, I see, when I copy-pasted the script into the thread, it added a few code changes, and I missed cleaning up those ones. The script should be able to run if you remove " <file://test>", "<file://test.txt>" and " <file://test.txt%20test2.txt>" out of the above lines. -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple