ScanDisk(4) don't work??

Started by Beat, May 20, 2018, 07:54:44 AM

Previous topic - Next topic

Beat

Hello,

I don't know what is wrongI try to get all drives which are network-drives, so I try to use ScanDisk(4) but it returns blank
Example:
Code (winbatch) Select

Test1 = DiskScan(2)
Test2 = DiskScan(4)

Test1 returns "C:" it is correct, itis my HD, Test2 returns a emty string ""  but I have connected drives
net use in PowerShell box returns correct infos see attachement.

by the way my OS is Windows 10
and I also have trouble with wntGetCon("G:") it should return the name of a connected network resourc but it returns a emty string ""

Code (winbatch) Select

AddExtender('wwwnt34i.dll',0,'wwwnt64i.dll')
netrsrc=wntGetCon("G:")


Is it a problem with Windows 10??

Best regards
Beat
si tacuisses, philosophus mansisses!! ;-)
if you had remained silent, you would have continued to be a philosopher!!
Wenn du geschwiegen hättest, wärst du ein Philosoph geblieben!!

td

It is neither a problem with Windows 10 nor WinBatch.  Windows 10 has been around for almost three years and WinBatch has been compatible with it since its release. The following article makes a reference to Windows 8 but this also applies to Windows 10. Please read the entire article.

http://techsupt.winbatch.com/webcgi/webbatch.exe?techsupt/nftechsupt.web+WinBatch/UAC+Mapped~Drives~Issue~with~UAC.txt   
"No one who sees a peregrine falcon fly can ever forget the beauty and thrill of that flight."
  - Dr. Tom Cade

Beat

Hi td,thanks for quick and successful help.
Beat
si tacuisses, philosophus mansisses!! ;-)
if you had remained silent, you would have continued to be a philosopher!!
Wenn du geschwiegen hättest, wärst du ein Philosoph geblieben!!