If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Rate Thread | Display Modes |
#1
|
|||
|
|||
Batch Changing of a File Extension
Using File Explorer, I highlighted a bunch of files with extension
..m4b in a directory. I then opened Windows PowerShell and typed the command, "rename *.m4b *.mp4" next to the prompt showing the directory. I got the following message: rename : the term 'rename' is not recognized as the name of a cmdlet, function, script file, or operable program. What the heck did I do wrong? |
Ads |
#2
|
|||
|
|||
Batch Changing of a File Extension
On Thu, 02 Mar 2017 13:40:42 -0500, Ricardo Jimenez
wrote: Using File Explorer, I highlighted a bunch of files with extension .m4b in a directory. I then opened Windows PowerShell and typed the command, "rename *.m4b *.mp4" next to the prompt showing the directory. I got the following message: rename : the term 'rename' is not recognized as the name of a cmdlet, function, script file, or operable program. What the heck did I do wrong? This seems to be the standard utility for this sort of thing........ https://renamer.en.softonic.com/ |
#3
|
|||
|
|||
Batch Changing of a File Extension
|
#4
|
|||
|
|||
Batch Changing of a File Extension
On Fri, 3 Mar 2017 10:16:32 +1300, Dave Doe wrote:
In article , , Ricardo Jimenez says... Using File Explorer, I highlighted a bunch of files with extension .m4b in a directory. I then opened Windows PowerShell and typed the command, "rename *.m4b *.mp4" next to the prompt showing the directory. I got the following message: rename : the term 'rename' is not recognized as the name of a cmdlet, function, script file, or operable program. What the heck did I do wrong? Just use 'ren' Nope. Windows Power Shell doesn't recognize ren either. |
#5
|
|||
|
|||
Batch Changing of a File Extension
Ricardo Jimenez wrote:
On Fri, 3 Mar 2017 10:16:32 +1300, Dave Doe wrote: In article , , Ricardo Jimenez says... Using File Explorer, I highlighted a bunch of files with extension .m4b in a directory. I then opened Windows PowerShell and typed the command, "rename *.m4b *.mp4" next to the prompt showing the directory. I got the following message: rename : the term 'rename' is not recognized as the name of a cmdlet, function, script file, or operable program. What the heck did I do wrong? Just use 'ren' Nope. Windows Power Shell doesn't recognize ren either. But regular CMD does. -- Take care, Jonathan ------------------- LITTLE WORKS STUDIO http://www.LittleWorksStudio.com |
#6
|
|||
|
|||
Batch Changing of a File Extension
On Thu, 2 Mar 2017 16:59:08 -0500, "Jonathan N. Little"
wrote: Ricardo Jimenez wrote: On Fri, 3 Mar 2017 10:16:32 +1300, Dave Doe wrote: In article , , Ricardo Jimenez says... Using File Explorer, I highlighted a bunch of files with extension .m4b in a directory. I then opened Windows PowerShell and typed the command, "rename *.m4b *.mp4" next to the prompt showing the directory. I got the following message: rename : the term 'rename' is not recognized as the name of a cmdlet, function, script file, or operable program. What the heck did I do wrong? Just use 'ren' Nope. Windows Power Shell doesn't recognize ren either. But regular CMD does. You are right! I didn't notice that File Manager gives you both the Open cmd prompt and Open Windows PowerShell options. I suppose I have to do some research now to learn what PowerShell can do. |
#8
|
|||
|
|||
Batch Changing of a File Extension
On Fri, 3 Mar 2017 11:19:13 +1300, Dave Doe wrote:
In article , , Ricardo Jimenez says... On Fri, 3 Mar 2017 10:16:32 +1300, Dave Doe wrote: In article , , Ricardo Jimenez says... Using File Explorer, I highlighted a bunch of files with extension .m4b in a directory. I then opened Windows PowerShell and typed the command, "rename *.m4b *.mp4" next to the prompt showing the directory. I got the following message: rename : the term 'rename' is not recognized as the name of a cmdlet, function, script file, or operable program. What the heck did I do wrong? Just use 'ren' Nope. Windows Power Shell doesn't recognize ren either. ??? It bloody should... https://technet.microsoft.com/en-us/.../ee176940.aspx Are you missing some Powershell libs or somethin'??? I wish I knew. When I tried ren *.m4b *.mb4, I got the message, ren: Cannot process argument because the value of argument "path" is not valid. Change the value of the "path" argument and run the operation again. However ren *.m4b *mb4 works fine with the command prompt. Do they want me to repeat the entire path before each of the two arguments even though PowerShell's top row is PS Path ? |
#9
|
|||
|
|||
Batch Changing of a File Extension
Ricardo Jimenez wrote:
On Fri, 3 Mar 2017 11:19:13 +1300, Dave Doe wrote: In article , , Ricardo Jimenez says... On Fri, 3 Mar 2017 10:16:32 +1300, Dave Doe wrote: In article , , Ricardo Jimenez says... Using File Explorer, I highlighted a bunch of files with extension .m4b in a directory. I then opened Windows PowerShell and typed the command, "rename *.m4b *.mp4" next to the prompt showing the directory. I got the following message: rename : the term 'rename' is not recognized as the name of a cmdlet, function, script file, or operable program. What the heck did I do wrong? Just use 'ren' Nope. Windows Power Shell doesn't recognize ren either. ??? It bloody should... https://technet.microsoft.com/en-us/.../ee176940.aspx Are you missing some Powershell libs or somethin'??? I wish I knew. When I tried ren *.m4b *.mb4, I got the message, ren: Cannot process argument because the value of argument "path" is not valid. Change the value of the "path" argument and run the operation again. However ren *.m4b *mb4 works fine with the command prompt. Do they want me to repeat the entire path before each of the two arguments even though PowerShell's top row is PS Path ? https://msdn.microsoft.com/en-us/pow...nt/rename-item Accept wildcard characters: False --- Oh my. This is the only command I could get to work. No amount of double-quoting or single-quoting or mixing the two would work. The "backtick" character can be used to escape the space in my "user name". At first I thought the example, was a speck of dirt on my screen, but no, it was a backtick character strategically placed. rename-item -path C:\users\user` name\Downloads\test.m4b -newname test.mp4 So that executed successfully, and is... totally useless. "He shoots... own goal!!!". Nice work Microsoft. How quaint. I sure got to see lots of different error messages. My screen is a sea of red ink. I can see how this is a "direct replacement" for Command Prompt. And you wonder why young people don't want to take up programming... Paul |
Thread Tools | |
Display Modes | Rate This Thread |
|
|