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 Mike Lewis 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. ngxGraz

    combining variables in a string

    I figured it out. no needs for quotes or ampersand foocommand load c:\file\sys\obj\${prod}_$bla\file.obj Thanks for the help though.
  2. ngxGraz

    combining variables in a string

    The term 'foocmd load C:\file\sys\bla\obj\' is not recognized as a cmdlet, function, operable prog ram, or script file. Verify the term and try again. right after the OBJ is where I have the " + $product + " so it looks like it's adding a CR somehow?
  3. ngxGraz

    combining variables in a string

    oh, I should note the 'foocommand' is an executable found in my PATH, not a powershell function.
  4. ngxGraz

    combining variables in a string

    Thanks, what's the point of the leading ampersand though?
  5. ngxGraz

    combining variables in a string

    Hi everyone, simple question here. I'm using powershell to automate some script calling, anyways in a function I want it to run a command foocommand load C:\file\system\$prod_$sys\bla.out and foocommand load C:\file\system\$prod_32\bla.out problem is, in these cases the shell look for a...
  6. ngxGraz

    perl open +< on windows occasionally truncating file

    the checkfile size code is simply my $size = -s "$file"; it's on an NTFS partition, no file locking, no compression. We 'solved' the problem by using a different approach - We read the file, delete the file, then opened it for write, and rewrote it (with appropriate changes)
  7. ngxGraz

    perl open +< on windows occasionally truncating file

    travs69: I do, it remains the same size. One byte smaller than usual. Kevin: We aren't ever forking, it's all one thread.
  8. ngxGraz

    perl open +< on windows occasionally truncating file

    That wasn't a descriptive title? We tried using OUT_FILE->autoflush( 1 ); but that didn't seem to work. We also did another method with $| using select to change handle, seti t, then set back to the default. Neither work.
  9. ngxGraz

    perl open +< on windows occasionally truncating file

    Hi all, I have a weird problem here that's really been screwing up a bunch of build processes. I have a script that goes through a directory, and runs another script from it to create a modified file for each of the original, then a second call to the script (but a different function in the...
  10. ngxGraz

    TROUBLE WITH USB DEVICE

    http://sdkbase.smartdisk.com/display/2n/_index1.asp?tab=opt2&r=9.457904E-02 Hope that helps
  11. ngxGraz

    CD and DVD drives not working.

    You didn't answer if you isn talled using that cd player?
  12. ngxGraz

    CD and DVD drives not working.

    You installed XP Pro... so that CD worked, right? I'd guess the CD is bad...
  13. ngxGraz

    sshd running twice?

    I hope this helps too. [root@warrior ~]# /etc/init.d/sshd status sshd (pid 15591) is running... [root@warrior ~]# /etc/init.d/sshd start Starting sshd:[ OK ] [root@warrior ~]# ps -ef|grep ssh root 15591 1 0 10:37 ? 00:00:00 sshd: root@pts/1 root 15722 1 0 10:45 ...
  14. ngxGraz

    sshd running twice?

    Hey guys, I was just making a few changes to an sshd config, when i noticed that.. there's two running? I'm not sure if it's normal, but either way it's preventing the stop command from working properly. [root@warrior ~]# ps -ef|grep ssh root 15591 1 0 10:37 ? 00:00:00 sshd...
  15. ngxGraz

    email attachments

    No worries, did you post it somewhere else? if so link it here and we will try to help ya out. and yes 34-42 makes a lot more sense.
  16. ngxGraz

    email attachments

    3-4kb? now that's ridiculously small
  17. ngxGraz

    MICROSOFT Natural Ergonomic Keyboard 4000 SUB/PS2

    I'm from Canada, :) and while I don't like firewire too much, I think it's a better idea, and firewire 800 is a lot faster than usb. in NA at least, most mobo's don't support more than one firewire, but have 6+, not exactly sure why they're moving towards usb, but they definitely are.
  18. ngxGraz

    possible mother board issue

    not too sure how mobos work, but maybe a connection shook loose? Maybe it's just getting old, and i doubt it, but you could try upgrading the firmware?
  19. ngxGraz

    Sound Card

    Try using the onboard and see if that fixes it. Obviously not a permanent fix, but that way you know if it's the sound device or that specific card/its drivers.
  20. ngxGraz

    MICROSOFT Natural Ergonomic Keyboard 4000 SUB/PS2

    PS/2 is being phased out by a lot of computer manufacturers, so you'll eventually have to move to usb. ps/2 doesn't allow hotswapping, I imagine you know this, but just to be sure, make sure to restart the computer when you plug it in.

Part and Inventory Search

Back
Top