Windows

Question

CMD

By vladimirbensky ·
How can I start CMD with " > " it starts with "C:\WINDOWS\SYSTEM32>"
I need to start with " >>set RENDERDOC_HOOK_EGL=0
"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --disable-gpu-sandbox --gpu-startup-dialog
Thread display: Collapse - | Expand +

All Answers

Collapse -

You need to UNDERSTAND the command line

by wizard57m_cnet Moderator In reply to CMD

prior to fracking around with something you obviously know nothing about! You can cause serious issues, even rendering your computer unable to operate.
Just an FYI...">" is what is known as the "prompt" in Microsoft operating systems, dating all the way back to MSDOS. The reason you see the printing you do is because CMD.EXE is located in the directory (aka folder) C:\WINDOWS\SYSTEM32. If you want you can then type in the command string you wish to run...type, as in use a keyboard...type in the command then press the "ENTER" key to execute the command. If the command exists and is valid, including the variables passed to it, it will then process.

Collapse -

CMD command

by vladimirbensky In reply to You need to UNDERSTAND th ...

Thank you. The reason I ask this question because I don't know. All I ask is how to get : set RENDERDOC_HOOK_EGL=0
"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --disable-gpu-sandbox --gpu-startup-dialog
Because I can't get out of : C:\Windows\System32>
I saw in youtube that they start with " >>" and after
set RENDERDOC_HOOK_EGL=0
But how to get >> from C:\Windows\System32>

Collapse -

Well, it looks like you are attempting to set some

by wizard57m_cnet Moderator In reply to CMD command

starting variable for Chrome. I would guess that since Chrome is normally installed in the "path" that defines where the operating system searches for executable file, you might be able to set the variable from where the cmd prompt opens. However, you can change the working directory by typing the command "CD \" (without quote marks) then press Enter key.
This take you to the top (root) directory on drive C. Then, type CD "C:\Program Files (x86)\Google\Chrome\Application" (with quotes) and press Enter. This should take you to the subdirectory Application. From there you can try to use the set command from your example.
To close the "MS DOS Prompt" window, type EXIT then press Enter key.
I think the last couple of things regarding the sandbox stuff can be entered when you start Chrome from the "Run" Menu...
click on Run, then when the box opens type Chrome --disable-gpu-sandbox --gpu-startup-dialog, then press Enter. This may start Chrome browser without the sandbox and gpu dialog

Collapse -

CMD command

by vladimirbensky In reply to Well, it looks like you a ...

Thank you very much. Great!

Collapse -

various tips to open CMD

by jessewalter375 In reply to CMD

Open Command Prompt from the Run Box
Press Windows+R to open “Run” box. Type “cmd” and then click “OK” to open a regular Command Prompt. Type “cmd” and then press Ctrl+Shift+Enter to open an administrator Command Prompt.

Open Command Prompt from the File Explorer Address Bar
In File Explorer, click the address bar to select it (or press Alt+D). Type “cmd” into the address bar and hit Enter to open the Command Prompt with the path of the current folder already set.

Open Command Prompt Here from the File Explorer File Menu
In File Explorer, navigate to any folder you want to open at the Command Prompt. From the “File” menu, select one of the following options:

Open command prompt. Opens a Command Prompt within the currently selected folder with standard permissions.
Open command prompt as administrator. Opens a Command Prompt within the currently selected folder with administrator permissions.

Open Command Prompt from a Folder’s Context Menu in File Explorer
To open a Command Prompt window to any folder, Shift+right-click the folder in File Explorer and then choose “Open command window here.”

Create a Shortcut for Command Prompt on the Desktop
Right-click an empty spot on the Desktop. From the context menu, select New > Shortcut.

Related Discussions

Related Forums