Welcome, Guest. Please login or register.
May 01, 2024, 09:26:53 PM

Login with username, password and session length
* Home Help Arcade Login Register
.
+  Forum
|-+  NLG Members who host their own Repair Logs of Various Games.
| |-+  RickHunters Computer Help 101 (Moderator: rickhunter)
| | |-+  MSDos mucking around...
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: MSDos mucking around...  (Read 6443 times)
stayouttadabunker
Senior Full time Member.
Sr.Tech NLG Member 1000+ Post
*

Total Karma Storms: 1039
Offline Offline

Gender: Male
Posts: 13447



« on: September 07, 2010, 01:16:56 PM »

It's been awhile and I've forgotten again how to slow down the super fast scroll
whenever I type in "dir" or "help" in the command prompt while open in dos.
How do you do that again?
It zooms right by the top half of the help section...I need help for the help section...  arrow
Jay had an excellent suggestion last year...of course I've forgot how he does it... Duh!
I tried looking back through my posts...unfortunately, I have way too many.... rotflmao


* cp in dos.png (62.22 KB, 827x734 - viewed 333 times.)
« Last Edit: September 07, 2010, 01:23:29 PM by stayouttadabunker » Logged
Brianzz
Contributing Gold NLG Member
Sr.Tech NLG Member 1000+ Post
*

Total Karma Storms: 316
Offline Offline

Gender: Male
Posts: 1520



WWW
« Reply #1 on: September 07, 2010, 01:25:59 PM »

dir /p

that gives you a page at a time
Logged
StatFreak
rotaredoM etiS GLN labolG
Global NLG Site Moderator
Sr.Tech NLG Member 1000+ Post
*

Total Karma Storms: 756
Offline Offline

Gender: Male
Posts: 8549


Warning! Spammers will be eaten, with relish!


« Reply #2 on: September 07, 2010, 02:53:05 PM »

Some more DOS window tricks in XP (Don't know about Vista):

You can set the layout size of the default cmd window to hold thousands of lines. You can then scroll back to view everything.

The settings for DOS windows can be saved and remembered for each separate program that calls such a window. As long as you use the same method to open your window each time (I go to the Run textbox and run "cmd") you can set things the way you like and it will always open that way.

With your DOS window open, click on the tiny icon in the upper left corner or press <Alt><Shift>. Then select "Properties". Click on the layout tab. Note that there are separate settings for the displayed size of the window and the screen BUFFER size. Set the buffer width to the same number as your selected screen width. Then set the BUFFER height to a huge number. I set mine to 6000. The window will now retain the last 6000 lines of data until it is closed, and you can use the scroll bar to view everything.

When you click OK, Windoze will prompt you to either "Apply properties to current window only" (the default), or to "Save properties for future windows with the same title." Select the second option and click OK.

----------

You can also use the "more.exe" program with a pipe instead of the  /p option. (But there's no reason to do this)

dir | more

---------

You can also save the output of your DIR command to a file and then view the file:

DIR > [myfile.ext]

No extension is implied, so if you want the file to behave as a text document, add ".txt" to your file name.


---------

Once you've set your buffer to hold lots of data, you can copy some or all of the contents of your DOS window to the clipboard.

Again, click on the little icon at the top left corner. This time click on "Edit / Mark"
For keyboard users, press (<Alt><Shift>) then E K.

Now use the mouse (or press and hold <Shift> and use the cursor keys) to select a SQUARE block of text. This is OLD SCHOOL. It doesn't select lines, it selects a rectangle -- like a selection box in a photo program.

Press <ENTER> to copy the block to the clipboard.


You can also Paste clipboard text INTO the DOS window using the same menu. Just select "Edit / Paste" instead  (or  (<Alt><Shift>) then E P).
« Last Edit: September 07, 2010, 03:09:48 PM by StatFreak » Logged

I found myself at NLG garfield  ..but got lost again on the way home. Scratch Head 2
If found, please email me to myself. Thanks. yes
       Executive member in good standing of Rick's SMAA.                              Ehhh...What's Up Doc?
stayouttadabunker
Senior Full time Member.
Sr.Tech NLG Member 1000+ Post
*

Total Karma Storms: 1039
Offline Offline

Gender: Male
Posts: 13447



« Reply #3 on: September 07, 2010, 03:06:44 PM »

Thanks Stat &Brianzz!  Hail

That was SO freakin' cool!!!
I did NOT KNOW about the little icon opening up the dialog box for properties....
MAN! You learn something new EVERYDAY!!! Dancing Party
The Wave
Ecstatic / Top Award
Logged
stayouttadabunker
Senior Full time Member.
Sr.Tech NLG Member 1000+ Post
*

Total Karma Storms: 1039
Offline Offline

Gender: Male
Posts: 13447



« Reply #4 on: September 07, 2010, 03:21:00 PM »

Okay, this is why is was asking....
I'm not sure if I should start a new topic but here it goes.

I got on the MCUmall website as "Stayouttadabunker" and pposted a question there
about my GQ-4X programmer reading a chip I have for the Bally Mastercom250.
http://www.mcumall.com/forum/topic.asp?TOPIC_ID=3001
A regular member there (possibly a MCUmall employee/designer) named "ZLM" replied to me with this>>>

"Try to add devices line into devices.txt:
Name="SST28SF040A",ID="BF04",Class="AT29C040A",Category="FLASH",MFG="SST";
Please let me know if it works."


I guess I'm the guinea pig tester for their research & development team..... rotflmao

So, I'm trying hard like heck to find the "device.txt" files in msdos.
I have to add the aforementioned lines so my GQ-4X programmer can display the new chip device in the dialog boxes .

Now you see why I was "mucking around with dos"... Tongue Out
Logged
StatFreak
rotaredoM etiS GLN labolG
Global NLG Site Moderator
Sr.Tech NLG Member 1000+ Post
*

Total Karma Storms: 756
Offline Offline

Gender: Male
Posts: 8549


Warning! Spammers will be eaten, with relish!


« Reply #5 on: September 07, 2010, 03:34:33 PM »

You don't need DOS to do that. You can search for the file in file explorer and use notepad to edit the file.

I'll let you know where it is located in a minute...


It's here:
C:\Program Files\GQ USB Programmer

and it's called devices.txt, not device.txt
You won't find it searching for device.txt because computers are literal.

All of the preset devices are in that file. I would suggest putting the new entry at the top of the list until you've confirmed that the addition works. Once you're sure that it works correctly, I would move it to the appropriate place in the list. Finding the right spot might take some browsing. Nerd
« Last Edit: September 07, 2010, 03:40:53 PM by StatFreak » Logged

I found myself at NLG garfield  ..but got lost again on the way home. Scratch Head 2
If found, please email me to myself. Thanks. yes
       Executive member in good standing of Rick's SMAA.                              Ehhh...What's Up Doc?
jay
Global NLG Site Moderator
Sr.Tech NLG Member 1000+ Post
*

Total Karma Storms: 483
Offline Offline

Gender: Male
Posts: 3178


if you cant afford to lose you cant afford to win


« Reply #6 on: September 07, 2010, 03:41:47 PM »

To search for something in MSDOS

CD \                                     (takes you to the root [top] of your hard drive)
Dir /S device.txt                     ( /S will search all subdirectories from your current location downwards - this is why you want to be at the root of your hard disk)

To echo Stats comments - Windows has an indexing feature that makes searching through Windows faster.
You will get a box with all the list of the file names in it.
The .TXT extension is also defaulted to Notepad so editing is relatively easy as you simply double click on the file show in the searcb box)

IF you wanted to edit the file in DOS you would first have to be in the right directory and that can get a bit ugly due to the extended file names.

For instance to change into the directory called Progam Files
CD \Progra~1 is the command to do this as DOS was designed around the 8.3 nominclature (8 character file names 3 character extensions)

alternatively
CD "\PROGRAM FILES"
does work but if you get into some fancy stuff the quotes kind of get into the way.






Logged

The only way to beat the casino is to own it
StatFreak
rotaredoM etiS GLN labolG
Global NLG Site Moderator
Sr.Tech NLG Member 1000+ Post
*

Total Karma Storms: 756
Offline Offline

Gender: Male
Posts: 8549


Warning! Spammers will be eaten, with relish!


« Reply #7 on: September 07, 2010, 03:46:28 PM »

To add to Jay's post, you can use wild cards to change directories in the new DOS. This makes changing directories much easier.
The trick is to use enough letters to make the directory unique, or you will end up in the first directory that matches, even if it's not the one you intended.

For example, to change to the PROGRAM FILES directory, you can just type the following, because there are no other directories off of the root that start with "pr":

cd \pr*


To get directly to the "GQ USB Programmer" directory, try this:

cd \pr*\gq*


But as I mentioned, you don't need DOS to do what you need to do. Tongue Out


Stat garfield
Logged

I found myself at NLG garfield  ..but got lost again on the way home. Scratch Head 2
If found, please email me to myself. Thanks. yes
       Executive member in good standing of Rick's SMAA.                              Ehhh...What's Up Doc?
stormrider
Contributing Gold NLG Member
Sr.NLG Member 501 to 1000 Post
*

Total Karma Storms: 131
Offline Offline

Gender: Male
Posts: 772



« Reply #8 on: September 07, 2010, 07:44:28 PM »

Bunker,

Is that the chip you pulled from Position U7 on the mastercom250 board ?
if so first time I seen that #
Mine have all been AM29F040B then again it's just a flash chip
so you can play all you want with it,make sure you save it first before you start editing the fields
its good for a starting point for where to edit.

Tim
Logged
dpalmi
Contributing Gold NLG Member
Sr.NLG Member 501 to 1000 Post
*

Total Karma Storms: 291
Offline Offline

Gender: Male
Posts: 819



WWW
« Reply #9 on: September 08, 2010, 12:53:22 AM »

To add to Jay's post, you can use wild cards to change directories in the new DOS. This makes changing directories much easier....

To add to that....

You can also use the TAB key to autofil directory names.  Go to a command line, change directories to c:\ ("CD \") and type "pr" and press TAB - should autofil "Program Files" for you.  If there are multiple directories that fit that criteria, pressing TAB again will scroll through them.  Follow?

Dan #2
Logged

A great man once said, "I was told last time I would get a piece of cake."

stayouttadabunker
Senior Full time Member.
Sr.Tech NLG Member 1000+ Post
*

Total Karma Storms: 1039
Offline Offline

Gender: Male
Posts: 13447



« Reply #10 on: September 08, 2010, 02:14:45 AM »

Awesome stuff guys!  Hail Thanks a lot!  applause
I won't use the dos way to edit the device list.
Notepad seems to be the way to go.

As far as the dos stuff, I just don't use it enough anymore to remember how to use it...lol
Thanks a bunch for the dos refresher course! yes  rotflmao
I used to have an old computer that I tried messing around
with that dos stuff on in case I phug it up... Duh!
Again, thanks for all you guys help on this...
I'll mess around with it in the morning...

On another note, I had problems out herein the Northeast kingdom as far as trying to log in.
I couldn't get back on and I didn't even know if my post made it onto the website.
I kept getting the "Firefox Cannot Locate Server" message -
so I headed out the door and played a round of golf .
 Golf Cart Golf Smiley
It was beautiful out!  rotflmao
Logged
brichter
Spaced Alien
Senior Full time Member.
Sr.Tech NLG Member 1000+ Post
*

Total Karma Storms: 440
Offline Offline

Gender: Male
Posts: 2374



WWW
« Reply #11 on: September 08, 2010, 05:44:30 AM »


I kept getting the "Firefox Cannot Locate Server" message -
so I headed out the door and played a round of golf .


That's a DNS failure. Try using the ip address next time you see the DNS failure. If it works, change your DNS servers or edit your hosts file as mentioned in the other thread.
Logged

Thanks,
Bill
StatFreak
rotaredoM etiS GLN labolG
Global NLG Site Moderator
Sr.Tech NLG Member 1000+ Post
*

Total Karma Storms: 756
Offline Offline

Gender: Male
Posts: 8549


Warning! Spammers will be eaten, with relish!


« Reply #12 on: September 08, 2010, 07:19:34 AM »

To add to Jay's post, you can use wild cards to change directories in the new DOS. This makes changing directories much easier....

To add to that....

You can also use the TAB key to autofil directory names.  Go to a command line, change directories to c:\ ("CD \") and type "pr" and press TAB - should autofil "Program Files" for you.  If there are multiple directories that fit that criteria, pressing TAB again will scroll through them.  Follow?

Dan #2

I forgot all about that one! What's cool about the TAB is that you don't even need to type any letters at all. If you just type "cd " the TAB key will scroll through all the available sub-directories. If you need to navigate a directory several levels down, you can use the TAB several times in one command. For example, from the root, type "cd " and then press tab until it displays
cd "Documents and settings"
Then, instead of pressing <ENTER>, press "\". You can now use the TAB key again to look through the directories in "documents and settings". You can continue in this manner as deep as you need to go before pressing ENTER, which will finally execute the single cd command and take you to your final destination.

It's a nice feature to have when you've forgotten the names of the directories along the path to the one you want to be in.

Of course, you can add letters to shorten the list at any point as you build the command.
Logged

I found myself at NLG garfield  ..but got lost again on the way home. Scratch Head 2
If found, please email me to myself. Thanks. yes
       Executive member in good standing of Rick's SMAA.                              Ehhh...What's Up Doc?
Pages: [1] Go Up Print 
« previous next »
Jump to:  


If you find this site helpful, Please Consider Making a small donation to help defray the cost of hosting and bandwidth.



Newlifegames.com    Newlifegames.net    Newlifegames.org
   New Life Games    NewLifeGames  NLG  We Bring new Life to old Games    1-888-NLG-SLOTS
Are all Copyright and Trademarks of New Life Games LLC 1992 - 2021


FAIR USE NOTICE:

This site contains copyrighted material the use of which has not always been specifically authorized by the copyright owner.
We make such material available in an effort to advance awareness and understanding of the issues involved.
We believe this constitutes a fair use of any such copyrighted material as provided for in section 107 of the US Copyright Law.
In accordance with Title 17 U.S.C. Section 107, the material on this site is distributed without profit to those
who have expressed a prior interest in receiving the included information for research and educational purposes.

For more information please visit: http://www.law.cornell.edu/uscode/17/107.shtml.

If you wish to use copyrighted material from this site for purposes of your own that go beyond fair use,
you must obtain permission directly from the copyright owner.

NewLifeGames.net Web-Site is optimized for use with Fire-Fox and a minimum screen resolution of 1280x768 pixels.


Powered by SMF 1.1.20 | SMF © 2013, Simple Machines
Loon Designed by Mystica
Updated by Runic Warrior
Page created in 0.091 seconds with 19 queries.