Sign in to follow this  
Followers 0
grasshopper3

NetShare.au3 Help

4 posts in this topic

What am I doing wrong here? $Exist is always a 0. According to the UDF it should be..

;                  |-1               - Share does not exist
;                  |$STYPE_DISKTREE  - Print queue
;                  |$STYPE_PRINTQ    - Disk drive
;                  |$STYPE_DEVICE    - Communication device
;                  |$STYPE_IPC       - IPC
;                  |$STYPE_SPECIAL   - Special share reserved for IPC$ or remote administration of the server
;                  |$STYPE_TEMPORARY - A temporary share;

;Verify Valid Shared
$Exist = _Net_Share_ShareCheck("",$ShareName)
msgbox(0,'',$Exist)

Share this post


Link to post
Share on other sites



This was supposed to have been fixed under BugTrac #1453, but the milestone is 3.3.7.0 Beta, which hasn't been released yet, so we are still broken.

;)


Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law

Share this post


Link to post
Share on other sites

Can I get a link to the most recent copy of the netshare UDF. Hopefully that is the cause. Else I am SOL.

Share this post


Link to post
Share on other sites

Use _Net_Share_ShareEnum() instead, which still works correctly. That's what I did.

;)


Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0