# I have an old school MS-Dos question

**URL:** https://boards.straightdope.com/t/i-have-an-old-school-ms-dos-question/104161
**Category:** Factual Questions
**Created:** [April 17, 2002, 3:53pm UTC](https://boards.straightdope.com/t/i-have-an-old-school-ms-dos-question/104161 "2002-04-17T15:53:51Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Clever\_Hans](https://avatars.discourse-cdn.com/v4/letter/c/a9a28c/32.png) [@Clever\_Hans](https://boards.straightdope.com/u/Clever_Hans)
#### Post date: [April 17, 2002, 3:53pm UTC](https://boards.straightdope.com/t/i-have-an-old-school-ms-dos-question/104161/1 "2002-04-17T15:53:51Z")

</div>

Back ground: I work for a medical software/transcription company. A fairly large clinic wants to use a format our software does not support the transfer of, we do have a proprietary ftp program but our web based program runs much smoother. So I write up a batch file that will change the extension to wav (which will allow it to upload), at the end of the batch file I have it open internet explorer. The batch file looks like this. My question is, is there any way I can open a specific site other than their home page from DOS, if so can you please relay the command?

Thanks in advance.

Clever Hans

@Echo Please wait while your voice files are being copied…  
@echo off  
@h:  
@echo off  
@cd dss\_flda  
@echo off  
@rename h:\dss\_flda\*.dss \*.wav  
@echo off  
@cd…  
@echo off  
@cd dss\_fldb  
@echo off  
@rename h:\dss\_fldb\*.dss \*.wav  
@echo off  
@cd…  
@echo off  
@cd dss\_fldc  
@echo off  
@rename h:\dss\_fldc\*.dss \*.wav  
@echo off  
@move h:\dss\_flda\*.wav c:\dict  
@echo off  
@move h:\dss\_fldb\*.wav c:\dict  
@echo off  
@move h:\dss\_fldc\*.wav c:\dict  
@echo off  
@C:\PROGRA~1\INTERN~1\iexplore.exe

---

<div class="post-metadata">

### Author: ![Terminus\_Est](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/terminus_est/32/3087_2.png) [@Terminus\_Est](https://boards.straightdope.com/u/Terminus_Est)
#### Post date: [April 17, 2002, 4:16pm UTC](https://boards.straightdope.com/t/i-have-an-old-school-ms-dos-question/104161/2 "2002-04-17T16:16:48Z")

</div>

Why don’t you put the name of the file you wish to open after iexplore.exe?

---

<div class="post-metadata">

### Author: ![abel](https://avatars.discourse-cdn.com/v4/letter/a/2acd7d/32.png) [@abel](https://boards.straightdope.com/u/abel)
#### Post date: [April 17, 2002, 4:17pm UTC](https://boards.straightdope.com/t/i-have-an-old-school-ms-dos-question/104161/3 "2002-04-17T16:17:08Z")

</div>

example…  
@C:\PROGRA~1\INTERN~1\iexplore.exe [www.yahoo.com](http://www.yahoo.com)

---

<div class="post-metadata">

### Author: ![Clever\_Hans](https://avatars.discourse-cdn.com/v4/letter/c/a9a28c/32.png) [@Clever\_Hans](https://boards.straightdope.com/u/Clever_Hans)
#### Post date: [April 17, 2002, 4:28pm UTC](https://boards.straightdope.com/t/i-have-an-old-school-ms-dos-question/104161/4 "2002-04-17T16:28:22Z")

</div>

I appreciate the answeres, and did it right before I came back and checked on the board. Thanks again.

---

<div class="post-metadata">

### Author: ![KneadToKnow](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/kneadtoknow/32/3999_2.png) [@KneadToKnow](https://boards.straightdope.com/u/KneadToKnow)
#### Post date: [April 17, 2002, 4:31pm UTC](https://boards.straightdope.com/t/i-have-an-old-school-ms-dos-question/104161/5 "2002-04-17T16:31:43Z")

</div>

That’s how I’d do it.

---

<div class="post-metadata">

### Author: ![Lockz](https://avatars.discourse-cdn.com/v4/letter/l/f4b2a3/32.png) [@Lockz](https://boards.straightdope.com/u/Lockz)
#### Post date: [April 17, 2002, 7:08pm UTC](https://boards.straightdope.com/t/i-have-an-old-school-ms-dos-question/104161/6 "2002-04-17T19:08:21Z")

</div>

You don’t need the @ sign before each and every line. All it does is to not put the command on the screen. I noticed you had @echo off, which does the same thing for the entire batch file. If you put that at the start of the file, you can delete the @ from the other lines. Also, you shouldn’t need the echo off command every few lines.
