Linux vs Windows system commands
5 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Bob Thompson
am 24 Mär. 2021
Beantwortet: Walter Roberson
am 24 Mär. 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 Kommentare
Akzeptierte Antwort
Walter Roberson
am 24 Mär. 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 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu File Operations finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!