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 strongm 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: *

  1. rensai

    High volume workstation swap

    Thanks for the suggestions. :)
  2. rensai

    High volume workstation swap

    I've got to accomplish a very high number of workstation upgrades in a very short amount of time. There will be approximately 2300 machines replaced. Additionally, I won't have access to the old machines for long so I need to make sure I have a good backup of the old machines' drives. We do not...
  3. rensai

    Workstation won't unlock

    Had a weird thing happen the other day. I had a new workstation I had just finished loading the new company standard image onto to test it. I was logged in as the local admin. I got pulled away on another job so I locked the workstation and left. When I came back I could not unlock it. I am...
  4. rensai

    Problem opening a file

    Thanks again for all the help everyone. I cleaned up the sub close to what was recommended by fishiface and it seems to be working now. Thanks!
  5. rensai

    Problem opening a file

    Bah I really need an edit button. While I've been playing with this I have a couple versions open and I had changed the $File var to $DefaultFile which was one I hardcoded to do some testing. Please just read $DefaultFile as if it were $File.
  6. rensai

    Problem opening a file

    Changed the open line to closely match kevins suggestion. Its now: [code] unless (open FILE,$LogPath."/".$DefaultFile) {$Check = 1; $ErrVar=$!}; [\code] Made no difference that I can see.
  7. rensai

    Problem opening a file

    Thanks for the input everyone. Kevin you were right on about the quotes. I removed them and the file would open with the small 10 liner script. However, when I modified that on my full script and ran it, it still fails :( In the full script the filename is not hardcoded but rather pulled...
  8. rensai

    Problem opening a file

    Thats a great Idea. I created a new file with just the open piece in it and hardcoded it to check a single log file that has the problem. I stuck them both into a new folder and it still generates the error! Heres the code: $TestFile = "./kernlr.audit2.log"; open (FILE,"'$TestFile'") or...
  9. rensai

    Problem opening a file

    I should also have added that right before running the script, I have manually opened several of the files that cause the error with VI. copying and pasting the path and file name exactly the way perl shows it in the error output and I have no trouble opening any of the files I've tested.
  10. rensai

    Problem opening a file

    Hey Trojan, Thanks for the response. I certainly agree with you in general and in fact, I really hope it is something simple like that that I've over looked but we can rule out the files still being created. The script actually never tries to access them from the samba share, partly to prevent...
  11. rensai

    Problem opening a file

    Hi everyone, I've been wracking my brain on this problem so any help is greatly appreciated. The problem I am having is regarding reading in a text file for parsing. I have created a script to open and parse several thousand log files. Of those thousands roughly 90 percent will open and...

Part and Inventory Search

Back
Top