Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

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
Replies are listed 'Best First'.
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 (Bishop) 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?

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (15)
As of 2016-05-27 15:11 GMT
Find Nodes?
    Voting Booth?