Novell Home

Copying Files at the Console

Novell Cool Solutions: Trench
By John Jakus

Digg This - Slashdot This

Posted: 30 Oct 2003
 

There are times when you need to copy files at the console. Say, the NIC driver is acting up and a client can't attach. Or maybe the NIC is causing a problem that prevents the GUI from being accessed on NetWare 5.x and 6.x.

SOLUTION:
With NetWare 5.x and 6.x you can shell out to a command prompt to do DOS-type file management commands. Here's how.

  1. First make sure that NSNINIT is loaded. If not load it.
  2. Next type NSNSHELL. This will take you to a command prompt.
  3. Now typical command such as "cd\system", "cd..", or "copy n100.lan sys:\n100.bad\n100.lan" can be performed.
  4. To get back to the console, type exit

EXAMPLE

Server> nsninit
Server> nsnshell
Novell Script for NetWare
Version 2.0
Copyright

<SERVER>
SYS:\>autoexec.bas
<SERVER>
SYS:\>md testit
<SERVER>
SYS:\>cd system
SYS:\SYSTEM\>copy n100.lan sys:\testit\n100.lan
File n100.lan copied
<SERVER>
SYS:\SYSTEM\>cd\testit
<SERVER>
SYS:\testit\>dir
Directory of SERVER/SYS:/testit
.         <DIR>
..        <DIR>
N100.LAN    73972   09/26/03 12:13:08 pm N100.LAN
   2 Dir(s).   1 File(s)
<SERVER>
SYS:\testit

If you have any questions you may contact John at John.Jakus@Valence.com


Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions. www.webwiseone.com

© 2014 Novell