Contact Forum Editor

Send an email to our Forum Editor:


PLEASE NOTE: Your name is used only to let the Forum Editor know who sent the message. Both your name and email address will not be used for any other purpose.

Tech Helproom


It's free to register, to post a question or to start / join a discussion


 

Batch files and file name length


Resolved

Likes # 0

When writing a batch file in Win 7 64bit am I limited to the good old DOS 8 character file names or can I use longer names. Haven't written a batch file since the seventies so I'm hoping that I can. If not what is the best way to overcome this. Any help appreciated. Thanks .

Like this post

Likes # 0

In all windows you should be able to use long file names, unless it is going to run in old dos mode. There is no DOS in Windows since XP came into being, it was left behind, old Windows ran on top of DOS, it was two Operating Systems running side by side

Like this post

Likes # 0

I'm using XP and both styles of accessing long filenames works in batch files / CMD prompt.E.g.

testfilename.doc

and

testfi~1.doc

Like this post  

Likes # 0

Thanks for your answers. Will try to get the grey cells working again.

Like this post

Likes # 0

Thanks for your answers. Will try to get the grey cells working again.

Like this post

Reply to this topic

This thread has been locked.



Send to a friend

Email this article to a friend or colleague:


PLEASE NOTE: Your name is used only to let the recipient know who sent the story. Both your name and the recipient's name and address will not be used for any other purpose.