Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^6: Windows System Command

by tarunmudgal4u (Sexton)
on Aug 08, 2012 at 11:58 UTC ( #986237=note: print w/ replies, xml ) Need Help??


in reply to Re^5: Windows System Command
in thread Windows System Command

Hi, no improvements. Still the same error :(


Comment on Re^6: Windows System Command
Re^7: Windows System Command
by BrowserUk (Pope) on Aug 08, 2012 at 12:07 UTC

    What output do you get from adding this line just before the call to system?

    print Win32::LoginName(); system ...;

    With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.

    The start of some sanity?

Re^7: Windows System Command
by marto (Chancellor) on Aug 08, 2012 at 12:07 UTC

    So you run a batch file and it doesn't work? If so this is a problem with the command or how you're calling it (you don't see an error message displayed?) and not perl.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://986237]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (14)
As of 2014-09-17 16:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (91 votes), past polls