New
#1
Need Help with Batch File
Hi,
I have following three commands that I want to run in a batch file (at x:\Windows\system32 and I am at the correct rirectory by default), commands are as:
bcdedit /set {default} device partition=c:
bcdedit /set {default} osdevice partition=c:
bcdedit /set {bootmgr} device partition=c:
I tried to write batch file but when I call it simply shows me the above commands but not worked for me, so please correct me what is the wrong with my batch file. Here is my Batch file that I created.
@echo off
echo cd x:\Windows\system32
echo bcdedit /set {default} device partition=c:
echo bcdedit /set {default} osdevice partition=c:
echo bcdedit /set {bootmgr} device partition=c:
Please help in this regards.