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 bkrike 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: rickgerdes
  • Content: Threads
  • Order by date
  1. rickgerdes

    Pre/Post processing commands

    Hello folks, We've been trying to run post-processing jobs on v8.5, 8.6, and 9.0. We've had intermittent success. The systems don't seem to care whether we call our exe from a batch or directly. In v9.0 it doesn't even appear to attempt to process, in v8.6 and below it appears to run, but works...
  2. rickgerdes

    Win::OLE questions

    Hello folks, The office is moving a few HUNDRED Excel spreadsheets from one file server to another. Most, if not all of these sheets have links to other spreadsheets, sometimes hundreds of links. The links all include the server name, format= \\<NTServer>\file\path\to\Excel.xls We are moving...
  3. rickgerdes

    Win32::NetAdmin::LoggedOnUsers question

    Hello folks, this one SHOULD be simple, but I'm being dense: The code: use Win32::NetAdmin; my @lou; Win32::NetAdmin::LoggedOnUsers('',@lou); print @lou; The result: Usage: Win32::NetAdmin::LoggedOnUsers(server, $userRef) The question: What am I doing wrong? Other than working in Win32... I...
  4. rickgerdes

    Substitution regex question

    Should be simple, I'm just an idiot. I have a file I'm trying read, no problems there. I dump it into an array and skim through line by line, no problem there. I try to match an expression to the line- not _usually_ a problem there. The issue is, the lines have spaces between each character...
  5. rickgerdes

    Need to verify a file is closed in NT

    Here's the deal- I need to have a program (PERL) know when a file is closed. Specifically what I am trying to do is wait for a process that may or may not be running to complete. If it's running, it is writing a log file, if it's done, the last log in the directory should be closed. I can find...
  6. rickgerdes

    Finding things the hard way

    I have a routine that seaches a directory tree for files that match the criteria - filename=8 numeric characters.* Any eight numbers, doesn't matter. Wherever it finds these files, it needs to delete them. Currently I do this the very hard way of: (please don't laugh) open(LIST, &quot;dir...
  7. rickgerdes

    Applications FTP'd through PERL won't execute

    Hey folks, anyone seen or heard of this one? I ftp an application from a remote site to the server running a perl application (Net::FTP). The application then won't run. Win32 (NT box) platform. Suggestions as to why this is happening appreciated. I'm not doing anything fancy, open ftp...
  8. rickgerdes

    How do I verify exclusive file acces?

    Hey folks, Quick question, I hope. Under Win32, how can I verify exclusive file access? I want to wait for a file that is being accessed by another application to close, before I kick off another command. Any suggestions appreciated!
  9. rickgerdes

    Can this be done?

    Hello folks, Hopefully a simple question, but likely not. Should it be possible to write a script to be called by an external task scheduler that sends a ctrl-alt-del? I've been looking at various Win32 modules and it looks as if the pieces are there, but I'm a total novice at perl so I can't...
  10. rickgerdes

    Need to unlock a server

    Hello folks, I searched and didn't find an answer so I'll throw it out there. I have several NT4.0 servers scattered across the country. The company wants to add a program to the list of scheduled tasks to clean up the databases. So far so good, right? Here's the catch, the application doesn't...

Part and Inventory Search

Back
Top