Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
hi
how can i rename a file in a the same directory in the bat file from "password.msi" to "password protector.msi'
thanks

"password protector.msi'
Is not a DOS filename.
=====================================
Helping others achieve escape felicityM2

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"

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

@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.

![]() |
![]() |
![]() |
| Login or Register to Reply | |
| Login | Register |
| Ads by Google |