Home | Gallery | Forum | Services | Webmail | Archive | Links | Contact Us | About Us
OS2 World.Com Forum
OS2 World.Com Online Discussion Forum.
Index / Public Discussions / General Discussion
author message
for rename long filename with batch files
Post a new topic Reply to this Topic Printable Version of this Topic Forward this Topic to your Friend Topic Commands (for administrator or moderators only)
orlando
Normal member
in user

View this member's profileSearch all posts from this memberSend an email to this member
posts: 2
since: 01 Apr, 2003
1. for rename long filename with batch files
Reply to this topic with quote Modify your message
we are working in a system routines for rename a file to a file with longname with a batch file procedure.
I work with OS2/4 and the command ren xxx xxx in the batch file only have the capacity until DOS limits (CCCCCCCC.EEE).

Any suggest is welcome. If you have other procedure, is welcome too.

Best Regards,
Orlando

Date: 01 Apr, 2003 on 20:52
Kim
Team member
in staff

View this member's profileSearch all posts from this memberSend an email to this memberhttp://www.haverblad.se
posts: 2128
since: 10 Dec, 2000
2. Re:for rename long filename with batch files
Reply to this topic with quote Modify your message
When you say batch file; one question pops up in my head. Are you saving the batch file using *.bat instead of using *.cmd ? If so, then it's true that the batch file will only handle 8.3 files. But else it should support long files names without any problem.
Date: 01 Apr, 2003 on 21:37
orlando
Normal member
in user

View this member's profileSearch all posts from this memberSend an email to this member
posts: 2
since: 01 Apr, 2003
3. Re:for rename long filename with batch files
Reply to this topic with quote Modify your message
last updated at 01 Apr, 2003 22:43 (2 times)
Thanks Kim for your answer.
I use the same command of the bat file in cmd files and look work OK.

Please refer me more information about the *.cmd files? comands?

If you have a online URL with this information is welcome.

Thanks Again...

Date: 01 Apr, 2003 on 22:32
for rename long filename with batch files
Post a new topic Reply to this Topic Printable Version of this Topic Forward this Topic to your Friend Topic Commands (for administrator or moderators only)
All times are CET+1. < Prev. | P. 1 | Next >
Go to:
 

Powered by UltraBoard 2000 Standard Edition,
Copyright © UltraScripts.com, Inc. 1999-2000.
Home | Gallery | Forums | Services | Webmail | Archive | Links | Contact Us | About Us
© OS2 World.Com 2000-2004