I am not convinced this is the problem, the single quote vs double quote issue with escaping the "\" character. To be sure, I had my subroutine print out the $CMD argument to the browser, to check what was being escaped...
xcopy C:\XAOSys\var\www\linepull
is the actual output I am getting from my routine. Yet I still get invalid drive specification... WHY?
I was well aware of the "\" escaping, my editor warns me if I don't properly escape and close something in quotes, single or double. I use eclipse, http://e-p-i-c.sourceforge
I've got to wrap up for today, but any suggestions on how or why this doesn't work and what to make it work, would be most appreciated.
Thanks for all your responses,
G
Main Topics
Browse All Topics





by: teraplanePosted on 2007-03-22 at 16:42:22ID: 18775921
How do you specify the netowork drive letter? You may need to say something like
m/ASPN/doc s/ActivePe rl/5.8/faq / Windows/A ctivePerl- Winfaq8.ht ml#When_I_ try_to_ope n_a_file_I _get
xcopy F:\\some\\file.txt G:\\other\\file.txt
The following gives more detail
http://aspn.activestate.co