| View previous topic :: View next topic |
| Author |
Message |
Kerry
Joined: 20 Jul 2006 Posts: 146 Location: Los Angeles
|
Posted: Thu Jul 20, 2006 7:55 pm Post subject: How do I rename my process? (answered) |
|
|
For example, if my process was weird.exe, how would I change it to cool.exe? Is it possible? or would I have to create another .ahk (in my .exe) and then compile it?
Sincerely,
Kerry
Last edited by Kerry on Thu Jul 20, 2006 10:23 pm; edited 1 time in total |
|
| Back to top |
|
 |
BoBo Guest
|
Posted: Thu Jul 20, 2006 8:35 pm Post subject: |
|
|
Try this at your command line Start/Run
| Code: | | cmd /k ren weird.exe cool.exe |
If you are a member of "The Society of Anonymous Mousepushers" ("Anonymer Mausschubser") - try that at the Windows Explorer:
a) select the file 'weird.exe'
b) choose File/Rename
c) change the name to cool.exe
d) have a beer because you're not weird enough to rename files and that's really cool exe !
God bless you - F2! |
|
| Back to top |
|
 |
Kerry
Joined: 20 Jul 2006 Posts: 146 Location: Los Angeles
|
Posted: Thu Jul 20, 2006 10:18 pm Post subject: |
|
|
hahaha, well that worked
Thank you very much |
|
| Back to top |
|
 |
MegaManII Guest
|
Posted: Fri Jul 27, 2007 2:51 am Post subject: |
|
|
| BoBo wrote: | Try this at your command line Start/Run
| Code: | | cmd /k ren weird.exe cool.exe |
|
I've tried this with several processes. Windows tells me it can't find the files.
| Code: |
/k ren firefox.exe cool.exe
|
doesn't work.
Do you know what I'm doing wrong? |
|
| Back to top |
|
 |
TDMedia
Joined: 26 Nov 2005 Posts: 196
|
Posted: Fri Jul 27, 2007 3:03 am Post subject: |
|
|
First, /k is a cmd option, so you don't need it if you're already in a prompt.
You also need to be in the directory of the file you're trying to change the name of unless you specify an absolute path.
| Code: | | ren "C:\Folder\File.txt" "File2.txt" |
You can ONLY specify an absolute path for the file-in name; ren cannot move a file after renaming it. _________________ http://thedbdclan.com/public/pingrep |
|
| Back to top |
|
 |
MegaManII Guest
|
Posted: Fri Jul 27, 2007 3:46 am Post subject: |
|
|
| Cool. It works now. Kind of cool to be able to rename files through the command prompt |
|
| Back to top |
|
 |
Stefan
Joined: 30 Jul 2004 Posts: 72 Location: Deutschland (sorry for my english)
|
Posted: Fri Jul 27, 2007 7:16 am Post subject: |
|
|
| Quote: | | Kind of cool to be able to rename files through the command prompt |
...... i am that old the cli became cool again? _________________ Stefan
This post was created with the kindly help of http://dict.leo.org/ and remember: “Allways look on the bright side of Life” |
|
| Back to top |
|
 |
SKAN
Joined: 26 Dec 2005 Posts: 6084
|
Posted: Fri Jul 27, 2007 7:20 am Post subject: |
|
|
| Stefan wrote: | | i am that old the cli became cool again? |
I felt the same way  |
|
| Back to top |
|
 |
Hardeep
Joined: 02 Jul 2006 Posts: 87
|
Posted: Fri Jul 27, 2007 10:29 am Post subject: |
|
|
 |
|
| Back to top |
|
 |
Lexikos
Joined: 17 Oct 2006 Posts: 2605 Location: Australia, Qld
|
Posted: Fri Jul 27, 2007 10:57 am Post subject: |
|
|
| TDMedia wrote: | | You can ONLY specify an absolute path for the file-in name; ren cannot move a file after renaming it. | Heh, I've never used 'ren'. I always use 'move', which can both move and rename a file. |
|
| Back to top |
|
 |
|