Linux vs Windows system commands
5 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Bob Thompson
el 24 de Mzo. de 2021
Respondida: Walter Roberson
el 24 de Mzo. de 2021
This may not be the forum for this, I can remove the question if it's not, but I have a script that runs a series of system commands on a Linux box environment. I would like to be able to run the script in a Windows evironment, but some of the system commands are not the same. Would any of you be able to help me convert the commands, or be able to direct me to a tool that I can use to do so?
Commands I'm having trouble converting:
'pwd' - returns current directory
'cp *original* *new*' - copies original file to new file location an name
0 comentarios
Respuesta aceptada
Walter Roberson
el 24 de Mzo. de 2021
pwd -> cd (see https://stackoverflow.com/questions/607670/windows-shell-command-to-get-the-full-path-to-the-current-directory for more notes)
cp -> copy if you are copying folder to folder, xcopy if you are copying multiple to folder; see https://serverfault.com/questions/4639/what-is-the-windows-command-line-command-to-copy-files
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre File Operations en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!