| 1. |
Solve : Dos prompt? |
|
Answer» Since I upgraded to WindowsXP Pro I haven't been able to, don't know how, change directorys. By right clicking on the MS-Doc Command icon and bringing up Properties then clicking the Suggest change your Cmd line box to read C:\WINDOWS\SYSTEM32\CMD.EXE and change your working box to read C:\ then when you click the icon you will always open cmd.exe and have just C:\> as the prompt. Or IMHO better still, CREATE a new shortcut on your desktop for cmd.exe Good luck Thanks Dusty, After I posted I discovered that I should have entered at the prompt: C:\WINDOWS\SYSTEM32> cd \QBasic, I forgot the slash. I have in my C:\Qbasic folder a program titled Cory.bas. I tried to open it using: C:\QBasic> QBasic /run Cory and C:\QBasic> QBasic /run Cory.bas but neither worked. LMK if this should this work? I already had a shortcut named: MS-DOS Command I renamed this, shortcut to Cmd.exe. In CMD.exe properties/Program Tab: I now have at the Cmd line C:\WINDOWS\system31\cmd.exe Working is:C:\WINDOWS\system32 I have this set to open as a window but when I want to copy a program from a forum to Qbasic I just need to change it to open as a window. I'm 79 and some of this is starting to FRAZZLE what little grey stuff I have left. You didn't indicate which version of QBasic you are using but... In the version I use (Qbasic 4.5) the interpreter is named QB not QBasic so the command to load it and run your program would be QB /RUN Cory.bas LMK what error message you get (if any) Upper case is used for emphasis only. At your prompt C:\Windows\system32 type cd\Qbasic... Then C:\QBasic> QBasic /run Cory and C:\QBasic> QBasic /runQuote from: chequer on October 28, 2007, 11:20:20 PM Since I upgraded to WindowsXP Pro I haven't been able to, don't know how, change directorys.Dusty, I managed to work it out. I had forgot that I had renamed Qbasic.exe to q.exe All I have to do is at C:\WINDOWS\system32> is to enter cd \qbasic to bring up, C:\Qbasic> then C:\Qbasic>q /run cory.txt to open the file. I am using QB 1.1 I have just bought a new Microsoft MultiMedia KEYBOARD 1.0A kb0186, It has a Fkey on/off BUTTON on it. On my old keyboard if I made a typing error at the Prompt, I could by pressing F3, bring back the text I had entered.. Regardless of the Fkey button being on or off it doesn't work now. In a program I use a lot, to save a lot of typing I have defined the F keys as, KEY 6, "WED" + chr$(13): key 7, "THU" +CHR$(13) etc..., won't work on my new Keyboard. Any clues? Quote from: patio on October 30, 2007, 06:13:07 AM At your prompt C:\Windows\system32 type cd\Qbasic...Thanks patio, I managed to work it out. I had forgot that I had renamed Qbasic.exe to q.exe All I have to do is at C:\WINDOWS\system32> is to enter cd \qbasic to bring up, C:\Qbasic> then C:\Qbasic>q /run cory.txt to open the file. I am using QB 1.1 See my reply to dusty |
|