Does anyone remember how to use DOSS commands?
I'm basically trying to view all of my macros files so I can learn exactly what they do. They are on my hard drive and I can see them. Just can't remember how to access them.
For example, at my controller the prompt is
C:\TWOOD>
If I do a directory search such as C:\TWOOD>DIR/P
Then I can see the macros files.
Anyone remeber how to open these up?
C:TWOOD>MACROM21 Doesn't work
Doss Comands
Moderators: Jason Susnjara, Larry Epplin, Clint Buechlein, Jim Bullis
-
- New Member
- Posts: 13
- Joined: Tue, Jun 16 2009, 7:58AM
- Company Name: Can-Am Specialties
-
- Guru Member
- Posts: 559
- Joined: Wed, May 18 2005, 6:59PM
- Company Name: CNC Automation
- Country: CANADA
- Location: St. Zotique, Québec, Canada
- Contact:
Re: Doss Comands
James,
In order to just display the contents to the screen on the controller, you can use the TYPE command. The syntax would be:
This will "type" the contents of this MACRO21.THM (an ASCII text file) to the screen. (I don't recommend that you use this on binary files.) If the contents of the file is too long for the screen, contents at the top will scroll off the top of the screen. If so, then you can use:
This will show you a full screen full and then wait for the SPACEBAR or ENTER to be pressed. Each press of the aforementioned keys will display another page until the whole file has been "typed". You can abort the operation at any time by pressing CTRL-C to CANCEL and return to the DOS prompt.
As an alternative, you can copy the files off the controller and on to your office PC where you can use NOTEPAD or other similar ASCII editor to view or print the contents of the files.
To copy all the macros from the control to a floppy disk, use the following command:
This will copy all the files with a ".THM" extension (the macro files) to the floppy disk in drive A:.
The link that Ryan gave you would be a good resource for you.
In order to just display the contents to the screen on the controller, you can use the TYPE command. The syntax would be:
- C:\TWOOD>TYPE macro21.thm
This will "type" the contents of this MACRO21.THM (an ASCII text file) to the screen. (I don't recommend that you use this on binary files.) If the contents of the file is too long for the screen, contents at the top will scroll off the top of the screen. If so, then you can use:
- C:\TWOOD>TYPE macro21.thm | more
This will show you a full screen full and then wait for the SPACEBAR or ENTER to be pressed. Each press of the aforementioned keys will display another page until the whole file has been "typed". You can abort the operation at any time by pressing CTRL-C to CANCEL and return to the DOS prompt.
As an alternative, you can copy the files off the controller and on to your office PC where you can use NOTEPAD or other similar ASCII editor to view or print the contents of the files.
To copy all the macros from the control to a floppy disk, use the following command:
- C:\TWOOD>copy *.thm a:
This will copy all the files with a ".THM" extension (the macro files) to the floppy disk in drive A:.
The link that Ryan gave you would be a good resource for you.