when I open the commend prompt the default line is this
C:\Windows\system32>
and I'm using SASS to convert a .scss file located located on my desktop.
I know the default line should be saying something like this C:\Users\the name of my machine
I type c:\Users\MyName\Desktop and hit enter I get this
'c:\Users\MyName\Desktop' is not recognized as an internal or external command, operable program or batch file.
Edit : Just for the guy who voted the question down, You could have just voted to migrate it to programmers stack exchange as I don't have the privileges. The question was answered before I learned about it not being suitable for the community and it also serves a help for the stack overflow community.
Often when opening the command prompt window, you automatically be placed in the (username) directory. Therefore, you only need to type cd desktop to get into the desktop. If you're in any other directory, you would need to type cd \docu~1\(username)\desktop to get into the desktop.
Press Windows key + X > Task Manager or Control + Shift + Esc. Click File > Run new task, type: cmd then hit Enter. If you need to open it with administrator privileges, hold down the Control key while clicking Run new task. From within File Explorer, you can type CMD in the Address Bar then hit Enter.
One of the quickest ways to open Command Prompt in Windows 11 as well as Windows 10 is via the Run window. Press the Win + R keys on your keyboard, then type cmd, and press Enter on your keyboard or click/tap OK.
You need to use the change directory command 'cd' to change directory
cd C:\Users\MyName\Desktop
you can use cd \d
to change the drive as well.
link for additional resources http://ss64.com/nt/cd.html
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With