pharaoh fortune slot
ExamNotes.net
Welcome, Guest. Please login or register.
November 24, 2017, 09:01:18 AM

Login with username, password and session length
* Home Help Search Login Register
  Show Posts
Pages: [1] 2 3 ... 109
1  Microsoft (MCSE, MCSD, MOUS, MCAD) / Server 2003 / Sysprep Images on: June 25, 2007, 11:21:45 AM
I have a question. I usually use Ghost in situations like this but for some reason my boss wants me to use sysprep to deploy   our new server installs. Now I've looked but I can't find anything on creating a sysprep image. I found a bunch on how to install a sysprep image, but nothing on creating one. Would anyone be able to point me towards some good resources or give me an idea of where to start? Any help would be appreciated.
2  General discussions / Programming Forum / C++ Throw question on: July 25, 2005, 05:46:54 PM
here is the cpp file.
3  General discussions / Programming Forum / C++ Throw question on: July 25, 2005, 05:44:42 PM
I made the changes you had suggested. I think I did them correctly but here they are if you want to take a look.
4  General discussions / Programming Forum / C++ Throw question on: July 24, 2005, 10:55:20 PM
Quote
Originally posted by dmaftei
1. You have a typo: 'dividionbyzero' (line 33 in the source file).

2. You need to call printmsg() on 'fe', not on 'f' (line 40 in source file).

3. You need default and copy constructors for your classes.

A suggestion: do NOT use using directives ('using namespace std'); use using declarations ('using std::cout'), or even better qualify names when you use them ('std::cout').


The first two I am aware of and have fixed. The third one, however, I will need to look at.. Thanks for the help, dmaftei. I'll let you know how it works out..
5  General discussions / Programming Forum / C++ Throw question on: July 20, 2005, 01:41:27 PM
here is the error message.
6  General discussions / Programming Forum / C++ Throw question on: July 20, 2005, 01:35:20 PM
here is the header file.
7  General discussions / Programming Forum / C++ Throw question on: July 20, 2005, 01:30:32 PM
I'm working out of a book trying to refresh myself on C++, and everytime I use one of their programs with throw I get an error that I am unable to interpret. Any ideas..

Files attached.
8  General discussions / Programming Forum / VbScript Question on: March 04, 2005, 02:42:25 PM
I'm a Domain Admin.. Maybe the Enterprise admin account.
9  General discussions / Programming Forum / VbScript Question on: March 04, 2005, 01:30:37 PM
Thanks, dmaftei. Works like a charm. I have one more question for you. The script quits if it hits a file that it doens't have access too. Any ideas on how to let it keep going and just skip that folder? Thanks again.
10  General discussions / Programming Forum / C++ or C# on: March 04, 2005, 12:12:00 AM
Never touched C# but I like C++. I'd say C++ or C. Ultimately, it depends on what you want to do with it. Someone told me if you can program in C you can program in anything.
11  General discussions / Programming Forum / VbScript Question on: March 03, 2005, 08:37:25 PM
Well that sort of works. If I point it to my s:\ it gives me all the files directly in the S:\ but doesn't give me the file that are in the subdriectories of the S: drive. If I point it to "." it goes thru all the files directly in my profile, but not thru all the other folders.

Here's what I'm trying to accomplish, and maybe you can point me in the right direction if you're not sure how to script this. I've stumped quite a few people, and I'm sort of new to VBScript so imagine the headaches.

Two people were recently fired for 'suspicious activity' they want a list of all the files that belong to them on a specific network drive (they want to be able to select which drive each time). I need to have a script that runs thru all the folders on the network drive and gives me the file path and owner of each file. That's where I'm stuck. I can't get it to run thru all the folders and give me all the files and their owners.


Thanks for your help.
12  General discussions / Programming Forum / VbScript Question on: March 03, 2005, 04:54:29 PM
This script only enumerates the files in a specified folder, how do I get it to enumerate thru all folders and output the files? Thanks.



Option Explicit
On Error Resume Next
Dim folder
folder = Inputbox("Which drive do you want to check?")
getFolder(folder)

Function getFolder(root)

Dim fso, folders, folder, file, files, txtFile
Const Appending = 8

Set fso = CreateObject("Scripting.FileSystemObject")

If fso.FolderExists(root) Then
Set txtFile = fso.createtextfile("C:\Owners.txt", False)
If err.number <> 0 then
Set txtFile = fso.opentextfile("C:\Owners.txt", Appending)
End If



txtFile.WriteLine root & "," & getOwner(root)
For Each file In fso.GetFolder(root).Files
txtFile.WriteLine file & "," & getOwner(fso.GetAbsolutePathName(file))
Next
For Each folder In fso.getFolder(root).SubFolders
getFolder(fso.GetAbsolutePathName(folder))
Next
Else
WScript.Echo "Folder doesn't exist: " & root
Exit Function
End If
End Function

Function getOwner(object)
Dim su, sd
Set su = CreateObject("ADsSecurityUtility")
Set sd = su.GetSecurityDescriptor(object, 1, 1)
getOwner = sd.Owner
End Function
13  General discussions / Programming Forum / VbScript Question on: March 03, 2005, 04:42:56 PM
This script only enumerates the files in a specified folder, how do I get it to enumerate thru all folders and output the files? Thanks.



Option Explicit
On Error Resume Next
Dim folder
folder = Inputbox("Which drive do you want to check?")
getFolder(folder)

Function getFolder(root)

Dim fso, folders, folder, file, files, txtFile
Const Appending = 8

Set fso = CreateObject("Scripting.FileSystemObject")

If fso.FolderExists(root) Then
Set txtFile = fso.createtextfile("C:\Owners.txt", False)
If err.number <> 0 then
Set txtFile = fso.opentextfile("C:\Owners.txt", Appending)
End If



txtFile.WriteLine root & "," & getOwner(root)
For Each file In fso.GetFolder(root).Files
txtFile.WriteLine file & "," & getOwner(fso.GetAbsolutePathName(file))
Next
For Each folder In fso.getFolder(root).SubFolders
getFolder(fso.GetAbsolutePathName(folder))
Next
Else
WScript.Echo "Folder doesn't exist: " & root
Exit Function
End If
End Function

Function getOwner(object)
Dim su, sd
Set su = CreateObject("ADsSecurityUtility")
Set sd = su.GetSecurityDescriptor(object, 1, 1)
getOwner = sd.Owner
End Function
14  General discussions / Programming Forum / VB Script won't Enumerate on: January 11, 2005, 01:09:35 PM
I'm writing a script to list all the users in a specified group, right now the script is setup to list everything in the container.

Set objGroup = GetObject _
    ("LDAP://cn=TransUser,cn=users,dc=Domain,dc=com")
 
For Each objUser in objGroup
    Wscript.Echo objUser.Name
Next

When I run this script nothing happens, but when I run the script below it works fine. Only difference is the group. It's the TransUsers Parent container.

Set objGroup = GetObject _
    ("LDAP://cn=users,dc=Domain,dc=com")
 
For Each objUser in objGroup
    Wscript.Echo objUser.Name
Next

Any ideas why this doesn't work when I try to Bind two containers deep, but works fine when I bind it one container deep?

Thanks.
15  General discussions / General Discussion / So Bush Lied?? on: July 21, 2004, 11:02:38 AM
If this is true then He didn't lie, and there maybe more.....

Click here
Pages: [1] 2 3 ... 109
Powered by MySQL Powered by PHP Powered by SMF 1.1.13 | SMF © 2006-2011, Simple Machines LLC Valid XHTML 1.0! Valid CSS!