Solved

NET USE PERSISTENT

Posted on 2003-12-10
3
13,274 Views
Last Modified: 2008-03-27
Hi Experts,

    I would like to make a persistent printer connection in 98 but seems that there's no "PERSISTENT {YES|NO}" features in win98 NET USE COMMAND. Any work around ? PLS HELP.


Thank You.
0
Comment
Question by:wzm
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 9

Expert Comment

by:tinchos
ID: 9917726
Hi wzm,

A possible solution is

make a netCommand.bat file

in which you define the command you want to execute

NET USE ....

and then place your netCommand.bat in the startup group, which are going to be executed at startup.

(I'm not sure but I guess that you can also add it in the autoexec.bat file)


Cheers!

Tincho
0
 

Author Comment

by:wzm
ID: 9917914
I dont know what u mean tinchos. My NET USE is of course, already in a *.bat file. This is usual for MS-DOS codes.

The problem is ... NET USE for NON XP AND NT AND 2000 ; that's is 98 ; which i'm referring to; does not have that NET USE / PERSISTENT:YES feature.

What I need is just a replacement of this codes or a work around.

Pls Help

Thanks

0
 
LVL 8

Accepted Solution

by:
K_2K earned 35 total points
ID: 9918118
That's correct, 98 never had a persistent.  We simply put the mounts (net use) in the logon scripts, which has the same affect as persistent since the logon script runs before the desktop is loaded.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Using dates in 'DOS' batch files has always been tricky as it has no built in ways of extracting date information.  There are many tricks using string manipulation to pull out parts of the %date% variable or output of the date /t command but these r…
Introduction: Recently, I got a requirement to zip all files individually with batch file script in Windows OS. I don't know much about scripting, but I searched Google and found a lot of examples and websites to complete my task. Finally, I was ab…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question