![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | DOS commands in Vista I have a DOS based linker program that I use to combine a number of files into a single file. In XP I could type the following at the DOS prompt "link.exe & < file.inp". The "link.exe" is the linker program, "file.inp" is a command file containing the list of files and commands to be included, the "&" was a concatination command and the "<" indicated to pipe from. This syntax does not work under VISTA. Any ideas ?. |
My System Specs![]() |
| | #2 (permalink) |
| | Re: DOS commands in Vista Hi John, Have you tried running an elevated command prompt? -- Best of Luck, Rick Rogers, aka "Nutcase" - Microsoft MVP http://mvp.support.microsoft.com/ Windows help - www.rickrogers.org "John" <John@discussions.microsoft.com> wrote in message news:731E2EF6-DEB8-49C4-8B2E-2C370F284C4F@microsoft.com... >I have a DOS based linker program that I use to combine a number of files > into a single file. In XP I could type the following at the DOS prompt > "link.exe & < file.inp". The "link.exe" is the linker program, "file.inp" > is > a command file containing the list of files and commands to be included, > the > "&" was a concatination command and the "<" indicated to pipe from. This > syntax does not work under VISTA. > > Any ideas ?. |
My System Specs![]() |
| | #3 (permalink) |
| | Re: DOS commands in Vista Hi Rick, oddly enough that made a difference and fixed one problem but created another. I have a folder mapped as a drive letter through the SUBST command. When I run the DOS box elevated the mapped drive is not visible. "Rick Rogers" wrote: > Hi John, > > Have you tried running an elevated command prompt? > > -- > Best of Luck, > > Rick Rogers, aka "Nutcase" - Microsoft MVP > http://mvp.support.microsoft.com/ > Windows help - www.rickrogers.org > > "John" <John@discussions.microsoft.com> wrote in message > news:731E2EF6-DEB8-49C4-8B2E-2C370F284C4F@microsoft.com... > >I have a DOS based linker program that I use to combine a number of files > > into a single file. In XP I could type the following at the DOS prompt > > "link.exe & < file.inp". The "link.exe" is the linker program, "file.inp" > > is > > a command file containing the list of files and commands to be included, > > the > > "&" was a concatination command and the "<" indicated to pipe from. This > > syntax does not work under VISTA. > > > > Any ideas ?. > > |
My System Specs![]() |
| | #4 (permalink) |
| | Re: DOS commands in Vista I don't know, John, haven't messed with SUBST in Vista. How are you trying to display the mapped drive? By the by, it's not a DOS box per se, but a command prompt. DOS box intimates that you are accessing an underlying DOS layer of the OS, and none such exists in an NT system. The CMD prompt is nothing more than a CLI in real mode. -- Best of Luck, Rick Rogers, aka "Nutcase" - Microsoft MVP http://mvp.support.microsoft.com/ Windows help - www.rickrogers.org "John" <John@discussions.microsoft.com> wrote in message news:AF53D1D5-2BA6-4BA2-B9C6-B7CC96DEBDAB@microsoft.com... > Hi Rick, oddly enough that made a difference and fixed one problem but > created another. I have a folder mapped as a drive letter through the > SUBST > command. When I run the DOS box elevated the mapped drive is not visible. > > "Rick Rogers" wrote: > >> Hi John, >> >> Have you tried running an elevated command prompt? >> >> -- >> Best of Luck, >> >> Rick Rogers, aka "Nutcase" - Microsoft MVP >> http://mvp.support.microsoft.com/ >> Windows help - www.rickrogers.org >> >> "John" <John@discussions.microsoft.com> wrote in message >> news:731E2EF6-DEB8-49C4-8B2E-2C370F284C4F@microsoft.com... >> >I have a DOS based linker program that I use to combine a number of >> >files >> > into a single file. In XP I could type the following at the DOS prompt >> > "link.exe & < file.inp". The "link.exe" is the linker program, >> > "file.inp" >> > is >> > a command file containing the list of files and commands to be >> > included, >> > the >> > "&" was a concatination command and the "<" indicated to pipe from. >> > This >> > syntax does not work under VISTA. >> > >> > Any ideas ?. >> >> |
My System Specs![]() |
| | #5 (permalink) |
| | Re: DOS commands in Vista "Rick Rogers" <rick@mvps.org> wrote in message news:e79bI2BfHHA.5056@TK2MSFTNGP02.phx.gbl... > By the by, it's not a DOS box per se, but a command prompt. DOS box > intimates that you are accessing an underlying DOS layer of the OS, and > none such exists in an NT system. The CMD prompt is nothing more than a > CLI in real mode. Correct - lots and lots of people still make this mistake... |
My System Specs![]() |
| | #6 (permalink) |
| | Re: DOS commands in Vista Hi Rick,Mark You are absolutely right, smacked fingers for getting all the letters in the wrong order here !!. I find the SUBST command very useful, when my desktop is logged onto my network I have a shared drive on the server mapped to drive 'N' so on my laptop I SUBST a folder on the laptop to drive 'N' and everything looks the same. I know i'm simple here but it keeps everything in the same place and I don't have to remember where I put things. However put 10 people in from of 2 machines, one with a DOS box and the other with a CMD prompt and write down the differances. I bet the list wont be very long. I know it's all under the surface. Getting back to my dilemma, it would appear after playing with Vista for a short while that the issue of access priorities and right to things seams to be a bit confused. Some things you can do, some thing you can't but it tells you and then lets you do it. Others it doesn't tell you until you find it doesn't work and gives you an error message that about as far away from reality to confuse me totally. "Mark Rae" wrote: > "Rick Rogers" <rick@mvps.org> wrote in message > news:e79bI2BfHHA.5056@TK2MSFTNGP02.phx.gbl... > > > By the by, it's not a DOS box per se, but a command prompt. DOS box > > intimates that you are accessing an underlying DOS layer of the OS, and > > none such exists in an NT system. The CMD prompt is nothing more than a > > CLI in real mode. > > Correct - lots and lots of people still make this mistake... > > > |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| Run Commands for Vista | Tutorials | |||
| XP commands don't work on Vista | Vista General | |||
| Commands in Vista | Vista performance & maintenance | |||
| net user commands for vista | Vista account administration | |||
| Vista - Wins commands for host lookup | Vista networking & sharing | |||