What command should I use to open a specified path at the end of program.
start "c:\Yaya\yoyo\"
Is not working
To open File Explorer, press the Windows key and "E" at the same time. Navigate to the folder you want to open in Command Prompt. Using the panel on the left side of File Explorer, click the folder you want to open. Then click the folder to open it.
To open Windows File Explorer to a specific folder, create a shortcut to “%SYSTEMROOT%\explorer.exe /e,<folder>”, where “<folder>” is the folder of your choice.
Search for Command Prompt, right-click the top result, and select the Run as administrator option. Type the following command to run a Windows 10 batch file and press Enter: C:\PATH\TO\FOLDER\BATCH-NAME. bat.
Add Keyboard Shortcut to Run Batch File To make things a bit easier, you can add a keyboard shortcut to run the batch file. That way, you don’t have to specifically go to the desktop and click on the batch file. Pressing the keyboard shortcut from anywhere will execute the batch script to open the folders.
1. To open File Explorer application, you can simply type explorer command and press Enter to start explorer.exe from Command Prompt. 2. To open the current folder/directory File Explorer window, you can type start. command in Command Prompt window and press Enter.
To open the current folder/directory File Explorer window, you can type start. command in Command Prompt window and press Enter. 3. To open the parent directory of the current folder, you can type start.. command, and press Enter. 4.
Name the text file as “ OpenFolders.bat “. Make sure you replace the.txt extension with.bat. After creating the bat file, right-click on it and select “ Edit “. The bat file will be opened in the Notepad.
You can try like this:
%SystemRoot%\explorer.exe "c:\Yaya\yoyo\"
The start command needs blank quotes
at the beginning, as it uses the first double quoted phrase as the "Window title"
start "" "c:\Yaya\yoyo\"
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