Page 1 of 1 1
Topic Options
#37953 - 2003-03-17 02:35 PM automatically generate maps
hathor Offline
Fresh Scripter

Registered: 2003-03-08
Posts: 10
Loc: antwerp
hello,

i want to make a scipt that automatically
generates 15 maps and a share (in .bat)

can i do this with NET USE or is that
for something completely different?

Top
#37954 - 2003-03-17 02:37 PM Re: automatically generate maps
Jochen Administrator Offline
KiX Supporter
*****

Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
for the maps in a .bat (.cmd!)

Yes, use net use , for creating a share rmtshare would be used
_________________________



Top
#37955 - 2003-03-17 02:38 PM Re: automatically generate maps
Howard Bullock Offline
KiX Supporter
*****

Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
Please clarify and give an example what exactly you want to accomplish. Do you want a batch file or a KiXtart script?

"NET.exe USE" is a DOS command line utility with an option.
_________________________
Home page: http://www.kixhelp.com/hb/

Top
#37956 - 2003-03-17 02:49 PM Re: automatically generate maps
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
Not sure what you mean with generate 'maps', I'd normally think of geographic information with regards to maps.

Anyway, NET USE will associate a drive letter on a local computer with a shared directory on a loca/remote computer. RMTSHARE (from the Windows Resource Kit) can create shares of directories that are located on local/remote computer. However, RMTSHARE requires appropriate administrative privileges.

Please search the KiXtart BBS for RMTSHARE to retrieve relvant articles.

And please provide more details in your questions as specified in ABC's of KiXtart board etiquette and message to new forum users
_________________________
There are two types of vessels, submarines and targets.

Top
#37957 - 2003-03-17 03:07 PM Re: automatically generate maps
hathor Offline
Fresh Scripter

Registered: 2003-03-08
Posts: 10
Loc: antwerp
it needs to simply create

15 maps and a share in which these maps are
placed

i just went through help in win200 for the command NET USE and it said that it is used for making connections to a shared resource
but wh

Top
#37958 - 2003-03-17 03:11 PM Re: automatically generate maps
hathor Offline
Fresh Scripter

Registered: 2003-03-08
Posts: 10
Loc: antwerp
sorry mustve pressed accidentally pressed
alt s

what i need is to simply create these maps
so no connecting to a share on a remote computer
or anything just create them
so i can place security on them

Top
#37959 - 2003-03-17 03:20 PM Re: automatically generate maps
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
Hathor, you're just plainly repeating yourself. What exactly do you mean with map?

We alrady explained to you how to map a drive letter to a shared directory and how to share a directory.

If that does not answer your question, then please explain why it doesn't help you and what you try to accomplish.
_________________________
There are two types of vessels, submarines and targets.

Top
#37960 - 2003-03-17 03:27 PM Re: automatically generate maps
hathor Offline
Fresh Scripter

Registered: 2003-03-08
Posts: 10
Loc: antwerp
sorry maybe folder is the right word

i need to create 15 folders
well 16 in total i have one folder
that is my share and in that share i have
15 folders

i already tried the rmtshare command
rmtshare \\sven \verslagen=c:

but i dont see that folder being created [Confused]

Top
#37961 - 2003-03-17 03:32 PM Re: automatically generate maps
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
Oh man. To create a folder you would use MD (make directory) on the command line. RMTSHARE is used to create a share of an existing folder/directory.

It might be time for you to read about the various command-line utilities available and actually read the associated help files, e.g. MD /?

[ 17. March 2003, 15:33: Message edited by: sealeopard ]
_________________________
There are two types of vessels, submarines and targets.

Top
#37962 - 2003-03-17 03:40 PM Re: automatically generate maps
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
I also feel like we're misused to solve your little assignments. I double-checked all your questions you've posted so far and they really touch the very basics of computer/systems admin/management.

It might be better if you take a look into a introductory book about Windows first. Or type HELP at a command prompt to see a list of available commands.
_________________________
There are two types of vessels, submarines and targets.

Top
#37963 - 2003-03-17 03:58 PM Re: automatically generate maps
Radimus Moderator Offline
Moderator
*****

Registered: 2000-01-06
Posts: 5187
Loc: Tampa, FL
basically the problem here is language.

Sometimes we get so tied up here in English, that we forget that we have a fairly international community.

If your english is poor, post what you can in english, but follow up in your native language.. you might get lucky.
_________________________
How to ask questions the smart way <-----------> Before you ask

Top
#37964 - 2003-03-17 04:02 PM Re: automatically generate maps
Jochen Administrator Offline
KiX Supporter
*****

Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
You may have to live with some replies asking to post in English, but hey, if language is the problem just post it in dutch and ignore those replies [Wink]

There are many fellow dutch speaking members here [Wink]

[ 17. March 2003, 16:03: Message edited by: jpols ]
_________________________



Top
#37965 - 2003-03-17 04:07 PM Re: automatically generate maps
hathor Offline
Fresh Scripter

Registered: 2003-03-08
Posts: 10
Loc: antwerp
sorry but as i already mentioned im really new to this

we only had one lesson about all this scripting
and i missed it so thats we im kinda screwing around [Frown] with it

but i have figured it out now
you have clarified alot of things for me
and i now know where i was wrong and misled

yes it was a matter of misconception
and no my english is quite adequate
but we do not have any of these manuals in dutch
and well it sometimes can get really confusing
like for instance with the small difference between making shares and connecting to a share
yes our teacher uses the word map and share
also for regular folders so im sorry if i used the
wrong wording

again thank you for your help
you helped me alot with gaining further insight
and sorry if u feel that youre being taken
for granted i was just feeling a little bit despondent after trying out so many commands for like two hours without any result

Top
Page 1 of 1 1


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 1592 anonymous users online.
Newest Members
Viginette, ManuvdWielNL, Sir_Barrington, batdk82, StuTheCoder
17888 Registered Users

Generated in 0.132 seconds in which 0.068 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org