I tired to create batch files to automate the copy and delete commands for files and folders.

It seams that windows xp does not support long file or folder names with space. Hence my batch files do not work.

Please advise.

Thanks
muthu snk

Recommended Answers

All 4 Replies

Put the names between quotation marks

Put the names between quotation marks

Spot-on advice.

Just to clarify, if you had a file named december sales report.xls, you would enter it as:

"december sales report.xls"

Note the quotation marks-- it tells the interpreter that everything in between the quotes is one item.

Spot-on advice.

Just to clarify, if you had a file named december sales report.xls, you would enter it as:

"december sales report.xls"

Note the quotation marks-- it tells the interpreter that everything in between the quotes is one item.

Thank You for your tips.

Thank You for your tips.

just specify the first 6 letters of file name and then add "~1" to it
and if u have any extensions then add it no problem

now it will work..

XP will automatically translate it to approppriate file.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.