Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: 0318
  • Order by date
  1. 0318

    getting subject in right bottom of screen

    Hi al.. I have a object called "Ball". When i press a button, the Ball has to appear in the right bottom of the screen. Maybe that isnt so difficult, but the screen is resizeble. Can anyone help me with this? i really dont know how to start. Below the OnClick of the button: void __fastcall...
  2. 0318

    Inventory PC's in network

    yeah. we use SUS for patchement. Software Update Service. now i just downloaded DameWare NT Utilities. With that program i can do a software inventory. its a huge program, with lots of tools. and it will be expenssive. i dont know how high the price can be here. havent tried langguard yet, but i...
  3. 0318

    Inventory PC's in network

    hello im looking for a easy to use program that scans all PC's in a network, and makes an inventory of all software installed on the PC's. anyone know a good program? its a plus if i dont need to install client software on all PC's. thnx
  4. 0318

    office XP on PC with SP 4

    hi i cant install office XP on my PC. Probably because it has service pack 4 installed. someone else knows this problem? 1 hour ago, i had office XP on it, and i needed to install Frontpage. The same problem there, couldnt install. by Frontpage it said ' Fault 25003 '. does someone know that...
  5. 0318

    [ DOS ] scheduled task in dos

    i know theres a way to add a scheduled task in DOS. its possible with 'at'. at /? gives me help, but i cant get it working :s i want begin.bat to be run every day on 11 am can someone help me with that?
  6. 0318

    [BATCH] looking also in subdir's

    can be closed. it was a /S that did it
  7. 0318

    [BATCH] looking also in subdir's

    the following code gets the owner of file in a dir. but i want the code also to look in the subdirs. how? other thing, thise code gets the owner of a file. but is it also possible to get owner of a map? here the code: :: Show owner of specified files; display owner and file name FOR /F "skip=5...
  8. 0318

    [BATCH] forfiles ( question about output )

    this is what i have, files older then 7 days will be moved to another directory. forfiles -pc:\temp2 -s -m*.* -d-7 -c"CMD /C move @FILE C:\temp3 my question. people make there own map in temp2, and place there own files in it.. the maps shouldnt be deleted, how can i make my script look in...
  9. 0318

    BATCH ] getting output in a variable

    ============ UPDATE ================= its ok now!!! after that peace of code, there was a ENDLOCAL. But i didnt knew what ENDLOCAL was. i can now ECHO the variable. BUT.. it contains only 1 variable, so i can ECHO one owner on the screen. When i have 2 or more files in the directory wich the...
  10. 0318

    BATCH ] getting output in a variable

    hi people. i have a script that obtains the owner of a file. i can echo the owner on the screen, and i can write the owner into a textfile. the thing is, another script needs to send a email to the owner. so the owner have to be a variable. How do i do that? ok, here is a piece of code that...
  11. 0318

    [batch] obtaining owner ( tokens, delims )

    hello. when i run a script to obtain the owner of a file, i get more then only the owner. here an example of a output: BUILTIN\Administrator or Domain\MyUsername u must know, i only need the username offcourse, thats the owner. so let say all users will be obtained like 'Domain\Username' then...
  12. 0318

    ForFiles.exe question [ Batch ]

    hi ppl i have to use forfiles, to copy files older then 7 days to another folder. here is what i use forfiles -pc:\temp -s -d-7 -c"cmd /c copy ""@FILE"" /Q /F c:\temp3": in the directory c:\temp files older then 7 days copy to c:\temp3 doesnt work, it allways says: cant copy the file onto...
  13. 0318

    Delete files older that 24 with a batch file

    hello people ive got the forfiles.exe now.. and i see andy uses this code to delete files: forfiles -pe:\ftpdata -s -d-14 -c"cmd /c del ""@FILE"" /Q /F" but i want the files to be copied to another folder. how can i do that? ive tried it many times. changed 'del' in 'copy' offcourse, but what...
  14. 0318

    Delete files older that 24 with a batch file

    thnx ! i really couldnt find anything about it. and yeah maybe i searched for ForFile and not for ForFileS
  15. 0318

    Delete files older that 24 with a batch file

    can someone please tell me where i can find the forfile utility? i need it very much.. i have a Resource kit cd here but it isnt on the cd :s also microsoft.com doesnt tell anything about forfile.exe
  16. 0318

    obtain owner of files

    yes ive managed to get the owner on the screen. next question, is it difficult to include a script in another script? got this: Set fso = CreateObject("Scripting.FileSystemObject") Set objFolder = fso.GetFolder("C:\temp") For Each aFile In objFolder.Files Wscript.Echo "Bestandsnaam: "&...
  17. 0318

    obtain owner of files

    im doing ok now with my script. but now i need a script that checks the owners of files. ive been looking here for it, and came here: http://www.tek-tips.com/viewthread.cfm?SQID=748308&SPID=329&newpid=329&page=1 it runs, it displays the amount of files in the scanned folder, but it doesnt show...
  18. 0318

    Delete files older than 5 days - How?

    So this piece of code i have then. when files are 5 days or older send a email.. but doesnt work Dim objFSO, oFldr1, oFile Set objFSO = CreateObject("Scripting.FileSystemObject") Set oFldr1 = objFSO.GetFolder("C:\temp") for each oFile in oFldr1.Files if datediff("d", oFile.DateCreated, Now...
  19. 0318

    doing a action when file is 7 days on a place

    sssshhttt :p
  20. 0318

    Checking on date

    Well, i did search.. i have this: for each File in Folderobj.files if (Date - File.DateCreated > cint(MaxAgeOfFile)) then its from a delete after ** days script. how do i set MaxAgeOfFile ? just above my script: Set MaxAgeOfFile = 7?

Part and Inventory Search

Back
Top