#172481 - 2007-01-07 01:52 PM
Identifying a drive mapping, writing to then readfing from file
|
Willmaykett
Fresh Scripter
Registered: 2007-01-07
Posts: 21
|
Hi all,
Absolute newbie to Kixtart, with no previous scripting experience, so please be kind to me 
I want to use Kix to perform the following functions:
1. Find out the server and full share name of a mapped drive letter, eg P:. This share can include spaces, & etc.
2. If the drive is not mapped, write out to an appended error file. If the drive exists, write out the unc path to a file. Should only need to be a single line.
3. I then need to be able to read the line of the file, so that I can use it to map a new drive letter against the share.
Not sure about how to attack part 1, for part 2 and 3 I think I need a combination of writeline, readline and obviously use commands. I am looking for assistance for a nice easy way of doing it, so I can start to understand and modify as I go.
Thanks for the anticipated help. Willy
|
|
Top
|
|
|
|
Identifying a drive mapping, writing to then readfing from file
|
Willmaykett
|
2007-01-07 01:52 PM
|
Re: Identifying a drive mapping, writing to then readfing from file
|
Lonkero
|
2007-01-07 03:09 PM
|
Re: Identifying a drive mapping, writing to then readfing from file
|
Lonkero
|
2007-01-07 04:12 PM
|
Re: Identifying a drive mapping, writing to then readfing from file
|
Les
|
2007-01-07 04:27 PM
|
Re: Identifying a drive mapping, writing to then readfing from file
|
Sealeopard
|
2007-01-07 09:56 PM
|
Re: Identifying a drive mapping, writing to then readfing from file
|
Lonkero
|
2007-01-07 10:36 PM
|
Re: Identifying a drive mapping, writing to then readfing from file
|
Willmaykett
|
2007-01-08 12:39 AM
|
Re: Identifying a drive mapping, writing to then readfing from file
|
Allen
|
2007-01-08 02:18 AM
|
Re: Identifying a drive mapping, writing to then readfing from file
|
Willmaykett
|
2007-01-08 02:59 AM
|
Re: Identifying a drive mapping, writing to then readfing from file
|
Sealeopard
|
2007-01-08 03:51 AM
|
Re: Identifying a drive mapping, writing to then readfing from file
|
Willmaykett
|
2007-01-08 04:05 AM
|
Re: Identifying a drive mapping, writing to then readfing from file
|
Allen
|
2007-01-08 04:33 AM
|
Re: Identifying a drive mapping, writing to then readfing from file
|
Willmaykett
|
2007-01-08 05:12 AM
|
Re: Identifying a drive mapping, writing to then readfing from file
|
Willmaykett
|
2007-01-08 06:37 AM
|
Re: Identifying a drive mapping, writing to then readfing from file
|
Les
|
2007-01-08 04:05 AM
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
0 registered
and 2220 anonymous users online.
|
|
|