June 2014
M T W T F S S
 1
2345678
9101112131415
16171819202122
23242526272829
30  

Categories

June 2014
M T W T F S S
 1
2345678
9101112131415
16171819202122
23242526272829
30  

check if folder exists

Bash Script check if folder exists

This piece of snippet code below will check if a folder exists.

Linux OS that has NTFS driver installed, can easily to plug in and plug out NTFS formatted external drives.

Or look for ntfs-3g driver if NTFS is not supported.

And can easily be used by both Windows […]

determine my user account’s OU in a Windows domain?

How can I determine my user account’s OU in a Windows domain?

set objSysInfo = CreateObject(“ADSystemInfo”)

set objUser = GetObject(“LDAP://” & objSysInfo.UserName)

wscript.echo “DN: ” & objUser.distinguishedName

gpresult /r

gpresult -v|more