Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Equivalent of rm and mv in windows .cmd

Tags:

bash

shell

cmd

I have the following commands in a shell script. I want to convert these lines into a windows cmd file. Can anyone provide input on what is the equivalent for "rm" and "mv" in a windows cmd file?

rm -f ${BUILD_ID}/${BUILD_ASIC}*rampatch* mv ${BUILD_ID}/${BUILD_ASIC}*rampatch* ${BUILD_ID}/emul/ 
like image 348
user2341103 Avatar asked Jul 12 '13 04:07

user2341103


1 Answers

move in windows is equivalent of mv command in Linux

del in windows is equivalent of rm command in Linux




UPDATE: This is a simplified answer but the behavior and capabilities are quite different as mentioned by @WestCoastProjects in the comment.

like image 194
Jainendra Avatar answered Oct 21 '22 04:10

Jainendra