view a file in cmd

view a textfile
view contents of a .dmp file

using windows cmd

i only have access to windows cmd (no batch scripts)


LVL 1
rgb192Asked:
Who is Participating?
 
rob_AXSNLCommented:
notepad.exe file.ext
0
 
jason104Commented:
You can use the EDIT command. This will open a text editor that will allow you to view and save provided you have permissions.

You can also use the TYPE command, this will just dump the file to the console. There is no editing, but it will let you see the file.
0
 
rgb192Author Commented:
edit is not recognized as an internal or external command operable program or batch file


and i cant read the characters in the 'type command'
0
Cloud Class® Course: MCSA MCSE Windows Server 2012

This course teaches how to install and configure Windows Server 2012 R2.  It is the first step on your path to becoming a Microsoft Certified Solutions Expert (MCSE).

 
jason104Commented:
Apperently your machine is very stripped down as far as the OS goes, or atleast lots of restrictions in place. What kind of file are you wanting to look at? type and edit would only be good for text files. If you are wanting to look at anything else, you will need a utility that is specific to the file type you are wanting to look at.
0
 
rgb192Author Commented:
notepad.exe
I could see the file

but there were many non english characters

is there a way to view the .dmp file
0
 
rockiroadsCommented:
Is this a memory dump file? u could use dumpchk maybe http://support.microsoft.com/kb/315271
otherwise try something like hippoedit or ultraedit
0
 
rockiroadsCommented:
or sorry, windows cmd only. So not possible to install s/w then?
0
 
rgb192Author Commented:
what is
s/w
0
 
rockiroadsCommented:
sorry s/w short for software like h/w short for hardware in geek language I guess
0
 
Lee W, MVPTechnology and Business Process AdvisorCommented:
Can you explain what exactly you are doing?  Are you in the recovery console?  a Vista/7 repair command prompt?  What?  If you want a GOOD solution - you'll provide details.

Use the command TYPE - but looking at a .DMP file will be useless in a command prompt - you need to get it analyzed - I have a web page you can use to analyze dump files - www.lwcomputing.com/minidumps/minidumpup.asp
0
 
nobusCommented:
or post the minidump here !
0
 
rgb192Author Commented:
this is what i used to view file, copy and rename
0
 
rockiroadsCommented:
and it worked using notepad? if so then surprising it didnt work b4 when u said it was funny characters
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.