Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
Hi,
I am working on the batch programming. I had some queries and wanted the answers for it.>How to read the dos version that i am using?
>How to download new dos version and how tp install it?
>How to start command prompt by defalut at C:
>I want to access network files through batch file. I can do the same from the command prompt. Like i want the file mili.txt to be used from the server which is on the path, \\abc\Softwares\Users\mili.txt Is it possiable through batch programming.
> What command has to be added to the batch file, so the title of the bat gets converted to the given title.
........................................................................................
This works with command line and batch programming.@echo off
calc OR "calc"
exitY does this not work?? or how to work it out?
@echo off
http://www.google.com OR "http://www.google.com"
exit
........................................................................................

>How to read the dos version that i am using?
VER>How to download new dos version and how tp install it?
If you're using FreeDOS, I'd visit their site. If you're using MS-DOS, you can't download it. However, I think you can still buy it from Microsoft for the price of Windows Vista.>How to start command prompt by defalut at C:
I have no idea what you're asking.>I want to access network files through batch file. I can do the same from the command prompt. Like i want the file mili.txt to be used from the server which is on the path, \\abc\Softwares\Users\mili.txt Is it possiable through batch programming.
No, MS-DOS has no native networking support.> What command has to be added to the batch file, so the title of the bat gets converted to the given title.
MS-DOS has no windows to give titles to.This works with command line and batch programming...Y does this not work?? or how to work it out?
MS-DOS has no native networking support, HTTP or otherwise. Download Netscape Navigator for Windows 3.1.Now if you're talking about CMD (the Windows NT line's Command Prompt), that's something COMPLETELY different.
RANDOM NOTE: You know, I swear I've done a post almost exactly like this before.

Apout the VER command. When I am in DOS on my computer and do the VER command, it tells me the version of the Windows operating system and not the DOS version.

That's how CMD chooses to specify its version: in relation to Windows. If you want to see its version, go to your Windows\System32 directory, right-click on cmd.exe, and look at the Version tab.

Well razor all the question are well answered. The third question was..
>How to start command prompt by defalut at C:
Thats means when u start cmd from run.. it gets defaulty started at C:\Documents and Settings\user. Is there any way to start dos by defaulty at c:

"s there any way to start dos by defaulty at c:"
It's not possible from the Run dialog box, but you can start the shortcut in a C: like this:
Start | All Programs | Accessories | Right click Command Prompt | change %HOMEDRIVE%%HOMEPATH% to C:\
I don't know if this would work, but you could try it:
Rename cmd.exe to cmd1.exe
Change COMPSEC to %systemroot%\system32\cmd1.exe
reboot
Put this in a batch script and save it as cmd.bat in %systemroot%\system32\::==
@echo off
cmd1 /k cd c:\"Computer security." — Oxymoron

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |