[Answer]-CMD in Windows 7 does not execute command (Python Django)

1đź‘Ť

âś…

ANSWER FOR THIS QUESTION IS PROVIDED FROM THE COMMENTS UNDER THE QUESTION BY USER Stephan

I decided to put the all together in on place>

  1. cd ~…, mv .` and mkdir .\ looks more like unix syntax than windows-cmd. cd and mkdir work on both platforms, but with different syntax. The cmd-version of mv is move.(ANSWER)

  2. also /path/to/pysec tells you, that you should put in the path to pysec, not the string “\path\to\pysec”(ANSWER)

  3. Can we transform these commands to Windows syntax?(QUESTION)

  4. Should we put the path to pysec like this: C:\Python27\pysec-master i mean the full or absolute as it is called path? Because it that tutorial I can see that the example is trimmed as cd ~/path/to/pysec`(QUESTION)

  5. the tilde (~) has a special meaning in unix. I don’t speak unix, but I think it means “Systemdrive”. The CMD command would be: cd /d “c:\Python27\pysec-master” (in CMD use \, in unix it’s /). Instead of mv use move (ANSWER)

  6. Only the third command does not seem to work mkdir ./pysec/data well I think there muse be something different for windows (QUESTION)

  7. mkdir .\pysec\data … You remember? “in CMD use \, in unix it’s /”(ANSWER)

THANK YOU FOR THE SUPPORT

Leave a comment