Computing.Net > Forums > Disk Operating System > how to renam a file

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

how to renam a file

Reply to Message Icon

Name: karimla131
Date: September 12, 2009 at 02:46:49 Pacific
OS: Windows 7
Subcategory: General
Comment:

hi

how can i rename a file in a the same directory in the bat file from "password.msi" to "password protector.msi'


thanks



Sponsored Link
Ads by Google

Response Number 1
Name: Mechanix2Go
Date: September 12, 2009 at 04:29:18 Pacific
Reply:

"password protector.msi'

Is not a DOS filename.


=====================================
Helping others achieve escape felicity

M2


0

Response Number 2
Name: paulsep
Date: September 13, 2009 at 07:35:12 Pacific
Reply:

In CMD:

ren password.msi "password protector.msi"

or

ren "C:\anydir\any other dir\password.msi" "C:\anydir\any other dir\password protector.msi"


0

Response Number 3
Name: Coos Bay Lumber
Date: September 13, 2009 at 09:36:35 Pacific
Reply:

You sure?

That may be too many letters (plus extension) for DOS to recognise. I am thinking of a eight letter Max. here.


Wm.


0

Response Number 4
Name: paulsep
Date: September 13, 2009 at 12:19:31 Pacific
Reply:

@Coos Bay Lumber

You're right if we talk about pure DOS environment, where the lenght of folder names and filenames is limited to 8.3 characters.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More






Use following form to reply to current message:

Login or Register to Reply
LoginRegister


Sponsored links

Ads by Google


Results for: how to renam a file

Renaming a file with todays date www.computing.net/answers/dos/renaming-a-file-with-todays-date/14184.html

how to rename a directory in DOS www.computing.net/answers/dos/how-to-rename-a-directory-in-dos/5381.html

Rename a file to file with a secuential number? www.computing.net/answers/dos/rename-a-file-to-file-with-a-secuential-number/4799.html