Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Copying Eviroment Variable?
Name: Randy Date: May 5, 2003 at 06:56:17 Pacific OS: Windows 98 SE CPU/Ram: Athlon 1.1 Ghz /128mb SDR
Comment:
Is there any way of copying an enviroment variable out of a batch file, call another batch file, then paste that variable on the called batch file? thx in advance
Summary: the problem is in the prototype for f(). Since you're not saying to pass by reference, f() copies the variable a from main(), but it creates its own object. Thus, it does not modify the original var...
Summary: Ah forget it! When I pipe it to a file I don't get that and if I run it with -X flag the warnings go away. So this is what I've got... #!/usr/bin/perl -w use File::Copy; # File Variables my $IVDFil...
Summary: When a function returns a value, it typically does it by putting that value on the top of the stack (this is also where the calling code would have copied the variables passed to the function, i.e. a ...