posted 24 years ago
Plz refer to your post..
String cmdline = "copy C:" + "\\" + "Temp" + "\\offcln9.txt" +
":" + "\\" + "Temp" + "\\";
It would finally store
"copy C:\Temp\offcln9.txt:\Temp\" in String variable cmdline
Assuming that you are working on Windows, You cannot keep a folder name as \offcln9.txt:\ as ':' is not allowed for folder/file name.
moreover, I think this is not the string you intended to create, so plz recheck once.
------------------
Amit Agrawal,
New Delhi, India.
Amit Agrawal,<BR>New Delhi, India.