Solved

NET USE PERSISTENT

Posted on 2003-12-10
3
13,291 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

[Webinar] How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

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

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…
YESTERDAY YESTERDAY.BAT is inspired by a previous article I wrote entitled: TOMORROW.BAT (http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/MS_DOS/A_4196-Advanced-Batch-File-Programming-TOMORROW-BAT.html). The crux of this batch f…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…

717 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