grasshopper3 Posted August 25, 2010 Posted August 25, 2010 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)
PsaltyDS Posted August 25, 2010 Posted August 25, 2010 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
grasshopper3 Posted August 25, 2010 Author Posted August 25, 2010 Can I get a link to the most recent copy of the netshare UDF. Hopefully that is the cause. Else I am SOL.
PsaltyDS Posted August 25, 2010 Posted August 25, 2010 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
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now