Link to home
Start Free TrialLog in
Avatar of Pkafkas
Pkafkas

asked on

Can I use direuse.exe to collect size informatin from a Novell Server

In thw past whenever I needed to run a script to see how large a user's home directory was, I would use the diruse.exe command. Then it would output a ,log file with the information that were over a certain size.

example:
 diruse.exe \\mclhome1\home /m /q:10 /* /l

Open in new window


I am trying to run this direcuse command for a Novell Server and I do not think this will work since the Novel Server does not use NTFS volumes.  Can anyone verify this for me?

Can I use the direuse.exe command in a batch file from a Windows 10 PC to get information from a Novel Server Shared folder to get a list of the size of the home drive folders?
Avatar of Bill Prew
Bill Prew

I would think since it looks like a logical drive to Windows (as a mapped drive) then it should work.  Just have to test it I suppose...


»bp
Can anyone verify this for me?
probably not a huge user base running netware anymore
i would think that /q might not be effective since it is not ntfs though wouldn't hurt to try

something more modern would be du; you can output to a file

Disk Usage v1.61

https://docs.microsoft.com/en-us/sysinternals/downloads/du 

Avatar of Pkafkas

ASKER

I have tried and it doe snot work.  It is not a mapped drive, I have always used the diruse.exe but I donot think taht will work on ntfs volumes.  I cnanot get it to work and I was wondering if  was doing anything wrong.

Plus Novel is now MicrFocus


So if you map a drive to the share location, and then in Windows Explorer right click on that drive and select Properties, does it see it as NTFS then, or something else?

Or is there some reason you can't temporarily map a drive to the share?

User generated image

»bp
You could also grab a copy of the Windows port of the unix DU utility from https://www.gnu.org/software/coreutils and get fairly close to what you wanted with something like below.  But it will only show the folders that exceeded 10Mb in size, not all like DIRUSE did (marking the ones over the threshold with "!").  But close maybe, and scriptable...

du -BM -d 1 -t 10M \\mclhome1\home

Open in new window


»bp
It's a GUI rather than a command line tool, for for what it's worth, I also use and like TreeSize Free for getting my hands around where the large files and folders are in a drive, share, or folder.  You might give it a look, although I can't test it on Novell...



»bp
And if you have any interest / skill in Powershell, then you likely could use it to get what you need, here are a couple of places you could start...



»bp
One last thought I had, you could try this in a BAT script and see what it does.

pushd \\mclhome1\home
diruse.exe . /m /q:10 /* /l
popd

Open in new window


»bp
Avatar of Pkafkas

ASKER

Bill; Prew, I will try out your suggestion.

The File System is actually 'NcFSD'.
This question needs an answer!
Become an EE member today
7 DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.