Description:
Microsoft Windows newsgroup.
|
|
|
parsing interface list from netshell
|
| |
Hi there, I am beginner in the CMD scripting. I want to get interface list, each iface into each variable. I have two problems with this. My command is: for /f "tokens=3,* delims= " %i in ('netsh in sh in') do echo %i %j I am use local (Czech) language version of WXP and the tranlation of nesth use two words for loopback ("zpetna smycka" something like "loop... more »
|
|
Generate usernames from Hostnames.
|
| |
Hi , I want to generate username from the hostname. For example if the hostname is "test2345" then username should be "user2345". "user" should be prefixd to the numbers from the hostname. where "user" is common for all the servers. If the hostname is "test0123" it should omit 0 and only take the later part.... more »
|
|
VB script to find expiration date
|
| |
First off I am new so if this some where else I apologies I could not find it. what I need to do is create a script to find the expiration date of all users in a OU in AD accounts keep expiring and I need a list of who will expire when so I can extend the accounts accordingly all of my attempts have failed dose any one have a way to do this.... more »
|
|
Lastlogon attribure and performance
|
| |
Hello I have created a small application in VB.net where I query AD information. In the user section I can retrive LastLogon, by query all DC. My main concern though, is the performance when I list 3000-5000+ users in a listview. What is your experience with LastLogon and performance where the enviroment... more »
|
|
string manipulation in vbs or vb.net
|
| |
Hello Im retriving users out from a security group in Active Directory. The output is like the string below. StrMember = "CN=ctxadmin,OU=ITservices,OU= RootDomain,DC=company,DC=com" How can I clean the string, so it always will list only the username. StrMember = "ctxadmin" Thanks, /Jesper
|
|
Recursive File Delete
|
| |
I need to delete files from a subdirectory under a bunch of profiles. In other words, I have users john, jim, and jill as c:\documents and settings\john c:\documents and settings\jim c:\documents and settings\jill And each of their profiles has a subdirectory called apps. In each apps file for them, I need to delete all .txt files, but only from the apps... more »
|
|
newbie looking for file location
|
| |
I am trying to write a script that I can launch from a login bat file that looks for a location of a program. Once the file location is found I want to take that location and dumps it to a reg key. Here's an example We want to set a default photo viewer on our network and would like to use Microsoft Office Picture Manager. I have found that this file can be located... more »
|
|
Running WMIC from within .bat fails?
|
| |
I have a simple WMIC command that utilises a wild card search. wmic product where "name like 'Infocouncil%'" call uninstall When running this directly from a command prompt it works fine. However if I run the same command from within a .bat file it fails to find an instance of the product. Now if I remove the wildcard search in the bat file it works fine:... more »
|
|
|