| 1. |
Solve : Ms Dos command to know in which drive the operating system is installed? |
|
Answer» Hi everybody, I am chaitanya. I need some help regarding the operating system installation path. There is no rule that the operating system must be installed in 'c' drive only. So I need a command to know in which drive the operating system is installed. Sir %SystemDrive% is not working. My operating system is Windows XP Service Pack 3 So is mine. How are you using %systemdrive% ? Do you know what a variable is ? And how to use one in a batch script? Sorry sir, I am new to batch scripting, there is some confusion. Any how thank you a lot for your interest in solving my problem.Quote from: krishnaanu on December 11, 2009, 04:13:59 AM Sorry sir, I am new to batch scripting, there is some confusion. Any how thank you a lot for your interest in solving my problem. echo %SystemDrive% START>RUN> [type] CMD U VIL knoe at the dos windowHow does that answer the question? It is real easy people. On any version of Windows, open the command prompt (or DOS prompt for you legacy users) and type "VER". Quote from: saboya on December 13, 2009, 06:37:59 AM It is real easy people. On any version of Windows, open the command prompt (or DOS prompt for you legacy users) and type "VER". |
|