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: humbletech99
  • Order by date
  1. humbletech99

    VBScript - Control //NOLOGO from within script?

    thanks, that's pretty interesting... not really interested in 3rd party proprietary stuff any more these days though... EBgreen, I may make the //nologo change an option...
  2. humbletech99

    VBScript - Control //NOLOGO from within script?

    dilettante, that's an interesting idea. I tend to like to stick with standardization and on this occasion, rather than using some non-standard 3rd party script host, (which may make my program less portable), I've decided that I may just add a script //nologo //s inside the script so that the...
  3. humbletech99

    VBScript - Control //NOLOGO from within script?

    yes I know, it's just inconvenient. It would be good if the script could switch this off...
  4. humbletech99

    VBScript - Control //NOLOGO from within script?

    because the definition of the progam I am writing must integrate with another program which only allows one line of output and the logo would sploit that, so the only output received would be that of the first line of the logo. There is no opportunity to change than program.
  5. humbletech99

    VBScript - Control //NOLOGO from within script?

    no I want to give people a script to run from the command line and I cannot do this against their machines I have no access to.
  6. humbletech99

    VBScript - Control //NOLOGO from within script?

    yes but this sucks because then you have to pass around another file with that file all the time, it's as bad as having to wrap it in a batch file. I did find that in the docs, but it's really not what I want to do. I need this thing to be self contained.
  7. humbletech99

    VBScript - Control //NOLOGO from within script?

    I'd like the ability to switch off the stupid logo from within my scripts just for their own execution. Having to tell people to do //nologo is lame and I am not going to go around to all my servers or someone else's servers to do cscript //nologo //s on all of them. Is there a way to switch...
  8. humbletech99

    VBScript - String Formatting (output in to columns)

    oh yes I remember that vbs does this now, it's how you use backpassing of parameters.... an ugly practice.
  9. humbletech99

    VBScript - String Formatting (output in to columns)

    I didn't realize that it was being passed by reference, I thought it would have been passed by value... In any event, it doesn't really matter, it still works... but thank you very much for pointing that out, it might save me a bug in future.
  10. humbletech99

    VBScript - String Formatting (output in to columns)

    err I meant for that + to be a &... but it works anyway, that was a quick write off the top of my head just to illustrate... but yes your approach is even slightly better. Thanks
  11. humbletech99

    VBScript - String Formatting (output in to columns)

    I've just written a very simple padding function to take care of it. In fact, I thought of something much simpler than the examples I've seen: function pad(strText) strText = strText + Space(50) strText = Left(strText, 50) pad = strText end function strVar = pad("something")
  12. humbletech99

    VBScript - String Formatting (output in to columns)

    I tried the right justify one for example but couldn't make it work: MsgBox Format("test", String(50, "@")) Microsoft VBScript runtime error: Type mismatch: 'Format' I don't understand Format, where did you get this function from? It must be a custom function, not an in-built one? I think this...
  13. humbletech99

    VBScript - Correlating remote file usage with remote session

    I have some VBScript which can query the remote sessions on a server to tell me what users are connected from which computers (like net session). It can also tell me which users are using which files (like net file). The problem is, I'm not sure how to correlate the two so that I can show which...
  14. humbletech99

    VBScript - String Formatting (output in to columns)

    I notice there are doesn't seem to be any proper string formatting in VBScript in order to specify how output strings should come out. I am trying to align output into clear columns, regardless of the length of the various column inputs. Hence I need a way of stating that a column should be X...
  15. humbletech99

    Volume Shadow Copy Service Starting/Stopping

    but I want to monitor the system in real time rather than event log parsing or alerting. Hence if I query the event logs and then find some error, mark the system as a problem, how then do I know when to mark the system as OK again just from the event logs... This gets sticky and there is sooo...
  16. humbletech99

    Volume Shadow Copy Service Starting/Stopping

    This means that I cannot monitor that the shadow copy services are running. Is there some way to programmatically check whether Volume Shadow Copies are actually working since I can't just check to see if the service is running?
  17. humbletech99

    Volume Shadow Copy Service Starting/Stopping

    Does the Volume Shadow Copy Service that comes with Windows Server 2003 only start and come in to the running state in service control when it is actually taking a snapshot? I have been googling and reading articles but they tend to all just tell me the basics of how to use it or the...
  18. humbletech99

    Remotely Restarting a Service Reliably

    thanks that's really very helpful, I will do that.
  19. humbletech99

    Remotely Restarting a Service Reliably

    does this actually solve the problem with a restart command or are you actually talking about a start command which brings us back to square one... if you issue a start command before the stop has completed, it won't work, the service will stop later and stay stopped... hence the whole...

Part and Inventory Search

Back
Top