-
Dos Os
I am taking a class on Dos. I am haveing some trouble when i Dir the c: it doesnt show me program files for some reason and when I try to pull something up in dos like lets say the calculator it wont open it. Now i am under a user name without admin. access but i dont think that should matter. My C Prompt displays C:\ docume`1\briz. Is that right? Can anybody help
Is ther a way to that dos can show me the correct syntax to open things like word or calculator?
Also I read the tuts on ao for dos but it still didnt help.
-
You are functioning as a limited user and as such there are things you aren't allowed to see. If it is allowed ask for admin access and you will see everything there is to see.
-
Well one question would be, are you in the right directory where prgrams are stored?
cd directory
Use that and find the directory where the applications are.
If it scrolls to fast and takes up the whole screen so you can't see the top, try this:
dir /p
That will pause it every screen.
I'm not sure what you are trying to do exactly, dir shows whatever is in the directory you're currently in.
What version of DOS are you using?
-
Gore:
He's in Win2k or better by the sound since he starts in "Documents and Settings\....."
Thus it's a rights issue IMO.
-
Ahhh, didn't really read where he started, just read the question part.
Windows 2000 is not a true DOS, so everything doesn't work the same.
So Tiger how is you this fine day?
Shoot me a PM so I can tell you something later when I get home from my crappy class tonight :)
-
I am not sure of the version bit it is a brand new box so i guess its the newest.
I do have another drive D:\ but it is designed for "system recovery." So i think i am in the right drive i just learned the command TYPE so what I DIR the C:\ i do see windows directory but when i type "TYPE windows" it come up access denied.
So maybe tiger is right. But i wouldnt think that because i am not the Administrator I wouldnt be able to access Word. I would think that I could.
-
Access Denied means you are on an NTFS drive which means you are on Win2k or XP.
You can still play with the command prompt, (it technically isn't DOS any more), and do most, if not everything, it can do, the only issue is that your "environment is limited to where the administrator allows you to go.
-
Is it possible to Print the Dos screen?
-
Ok, you're on the admin account, and at C prompt. Do cd.. until you get to c:\ (root) - then dir /w. This will show you the files and dirs from root in a windowed format - find program files - it'll probably be appended since your desktop was - so it'll look like progra~f or something similar. CD to it. *poof* you're in program files.
Luck to you.
[edit] Yes, it's possible to print the dos screen - dir | textfile.txt, then print from windows is the simplest way. [/edit]
[moreedit] Yeesh. the more I read this the more I see - by 'type windows' are you trying to use the 'type' command, or are you trying to execute windows the program? - If type command, be advised it only works on progs and files, not dirs - if you're trying to cause win to execute - you can't from the command prompt within windows, try typing 'exit' instead. [/moreedit]
-
Can I ask why you are wanting to run these apps from a DOS prompt? Wouldn't it be much easier to just select these programs from windows? Don't get me wrong, I don't mean to sound like an as* or anything I am just curious why you want to know this. I would suggest finding an old box and install DOS 6.22 (one of micrsoft's old OSs) and learn DOS for real. A CMD (command) window inside of a win 2k or XP box is a very limited reference to learn the good ol DOS.
I remember the day.......
I can truely relate to this topic. ;)
-
aeallison:
I know clicking on the windows icon is much eaiser but i have to learn this class for school. It sucks but i do enjoy it cause it will make my days in C alot eaiser. (I HOPE)
|3lack|ce:
Thanks i will try that out. The only thing is that i do not have admin access.
-
You might try looking at some of these sites:
http://www.computerhope.com/msdos.htm#02
http://www.generation.net/~hleboeuf/dos7comm.htm
http://w3.aces.uiuc.edu/AIM/CCSOcourses/DOS-rev.html
Isn't Google a wonderful tool?
I would make a really rotten teacher. I would be one of those... if you wanna know that go search google teachers. I really hate it when someone tells me to google it. So sorry if I have again made an as* of myself. :eek:
-
You can't do what I suggested without admin access. Sorry - I must've misread your earlier post where you said you did. If you don't have admin access on the machine, you shouldn't be messing around trying to get into areas you aren't supposed to be in. That's a big nono.
[edit] Yep, I read it wrong. You don't have admin access. This means it's not your machine. This makes it hacking. Enjoy the reds [/edit]
-
Why was he negged?
He's asking a simple question, getting replies, and being very respectful.
Excuse me as I set the Greenie Blaster and rectify the dick who negged him.
-
You should be able to launch any windows program by typing the name of its
executable file on the command line. If the program is on your path,
it will execute .
Code:
C:\WINDOWS>echo %path%
C:\WINDOWS;C:\WINDOWS;C:\WINDOWS\COMMAND;C:\PERL\BIN\;C:\WINDOWS\COMMAND\UNIX;C:
\PROGRA~1\MTS;C:\PROGRA~1\GRISOFT\AVG6;C:\PROGRA~1\ATITEC~1\ATICON~1
Check the path, and if you want to launch other apps that aren't on the path,
you must type the full path name.
When you want to see hidden files, it's
Code:
dir/a
Volume in drive C is COMPAQ
Volume Serial Number is 39BD-2F92
Directory of C:\
04/23/99 10:22p 222,390 IO.SYS
04/13/03 08:48p 1,697 MSDOS.SYS
07/07/01 05:31p 4,661,280 SYSTEM.NEW
07/07/01 05:31p 491,552 USER.NEW
10/04/02 07:12p 66,596 BOOTLOG.TXT
09/15/00 01:58p <DIR> RECYCLED
09/15/00 02:58p <DIR> NCDTREE
06/14/99 10:56a <DIR> COMPAQ
06/28/00 01:09p <DIR> SYSTEM.SAV
04/26/02 02:55p <DIR> WINDOWS
06/15/02 02:42a <DIR> My Documents
07/18/00 02:52a <DIR> Program Files
03/27/02 09:06p <DIR> junk
12/14/00 10:41a <DIR> GAMES
01/04/01 10:01p <DIR> DESKJET
01/04/01 10:06p <DIR> INFOCOM
01/08/01 02:09p <DIR> cygnus
01/08/01 02:13p <DIR> tmp
01/20/01 10:55a <DIR> MPS
Press any key to continue . . .
http://www.csulb.edu/~murdock/dosindex.html
-
Whups. Already rectified. I negged him a whoppin 3 points, and paid in reds back to myself. Thanks for the PM Digital - now that we know it's your step-dad's, I'd suggest getting admin permissions from him before going further.