Tech Helproom
It's free to register, to post a question or to start / join a discussion
Batch files and file name length
Likes # 0
Posted November 7, 2012 at 3:48PM
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 .
Likes # 0
Posted November 7, 2012 at 4:07PM
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
Likes # 0
Posted November 7, 2012 at 4:47PM
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
Likes # 0
Posted November 7, 2012 at 8:40PM
Thanks for your answers. Will try to get the grey cells working again.
Likes # 0
Posted November 7, 2012 at 8:41PM
Thanks for your answers. Will try to get the grey cells working again.
Reply to this topic
This thread has been locked.
Check out PC Advisor's other tech forums
Top 5 Most Popular
-
Xbox One launch live video: watch the new Xbox launch as it happened
-
Samsung Galaxy S4 vs Nexus 4 smartphone comparison review: what's the best Android?
-
Samsung Galaxy S4 vs Apple iPhone 5 comparison review
-
Galaxy S4 vs BlackBerry Z10 comparison review - which is best, the Samsung or the BlackBerry?
-
Microsoft Windows 8 review



