search for: errorlevel

Displaying 20 results from an estimated 117 matches for "errorlevel".

2000 Jun 25
2
Login script
Is there a file I can place in the netlogin directory (or anywhere else for that matter) that will represnet a logon script? I want to have my workstations auto-mount particular shares on the samba server, without the user having to make the mount. This way when I add new users, the shares are automatically present. If there is a script I can place somwehre, please tell me what it's name is
2002 May 27
1
bug: copying unreadable file from remote host returns errorlevel 0
[ Please keep me in Cc: as I am not subscribed to this list ] Hello, we have noticed the following bug in rsync (including latest CVS snapshot): if I am copying from the remote host file that is unreadable by my account, the error is reported properly, but the errorlevel returned is 0. $ rsync distanza:/etc/shadow . send_files failed to open /etc/shadow: Permission denied rsync error: some files could not be transferred (code 23) at main.c(348) $ echo $? 0 If I'm trying to copy non-existent file, it returns proper errorlevel $ rsyn...
2004 Sep 10
2
[Flac-users] Re: my flac -t issue: next approach
| yes, the exit code will be 1 if any of the flac files failed | testing, else 0 (i.e. if all of them passed). Thank you, Josh! Now the only trick is to see whether command.com can do anything with that information.
2010 Mar 09
3
Enhanced MDISKCHK.COM and MEMDISK patches
Good day to all, Gert Hulselmans requested a feature for MDISKCHK.COM that would function roughly like GETARGS.COM[1] by Murali Krishnan Ganapathy: DOS SET command output for MEMDISK kernel arguments passed by previous boot-loaders. He also needed to support the case for MEMDISK-in-a-MEMDISK type situations, where all MEMDISK kernel arguments could be gathered together and output as a list
2004 May 23
1
A (maybe)_ easy solution to global login script for group checking
...very well for me: I downloade dthe ifmember.exe from the microsoft website, and stuck it in the netlogon directory (not the scripts directory) http://www.microsoft.com/windows2000/techinfo/reskit/tools/new/ifmember-o.asp Then the script is: @echo off ifmember "DOMAIN\group1" if not errorlevel 1 goto group2 net use r: \\SERVER\group1files :group2 ifmember "DOMAIN\group2" if not errorlevel 1 goto group3 net use s: \\SERVER\group2files :group3 .... So according toi group the network drives get mapped. It's all in one login script and makes things easy! I couldn'...
2004 May 24
2
Re: Windows XP machine not connecting to Samba 3.04 after upgrade
Hi, as I wrote before: I'm not able to connect a Windows XP Pro notebook to a Samba 3.0.4 server. All the other machines (most Windows XP Pro, but also a few Windows 2000 and Windows 98) can connect without any problem. This one machine is not part of the NT domain because it needs to connect 1 or 2 times a week only, and is on the road most of the time. The machine could connect
2004 Sep 10
1
[Flac-users] Re: my flac -t issue: next approach
...Thank you! | flac -t *.flac Now, that doesn't work for me. I know that command.com doesn't glob wildcards but rather expects the application to do it, and apparently flac.exe doesn't. Under a real shell that wouldn't be a problem, because the shell would glob the asterisk. | if errorlevel 1 goto fail | goto exit | :fail | echo Danger Will Robinson! Flac files failed integrity check. | :exit OK then, would this work: flac -t somefile.flac if errorlevel 1 goto fail echo "somefile.flac verified" >> results.txt goto exit :fail echo "somefile.flac did not ver...
2005 Jul 02
1
limiting netlogon scripts to a subnet?-will this work?
...h IP from 192.168.1.x to load the databases. The loaddatabases.cmd file in question would contain rem Grab IP address and dump to a file ipconfig >"%userprofile%\ipconfig.txt" echo Checking for your location findstr "192.168.1" "%userprofile%\ipconfig.txt" if errorlevel 1 goto notLoading echo Loading Databases .... rd /S /Q C:\Access\Databases xcopy /C /Y /K /F /Z /Q /E /H Q:\Access\FrontEnds C:\Access\Databases\ goto end :notLoading echo Not loading Databases goto :end :end __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo...
2006 Oct 13
3
No exit codes from RTerm (Windows) (PR#9296)
...tex on the result (after RTerm exits). The issue is that if an error condition occurs in RTerm, it is prudent to not do the pdflatex processing afterward. Here are the relevant statements in the BAT script: echo Sweave("%1",style=F,eps=F) | Rterm --no-save --no-restore if not errorlevel == 0 goto end The problem is that the errorlevel seems to always be 0, even if an error occurs. I have a similar shell script for our linux system, and it works correctly. Are there no provisions for RTerm to return an exit code in Windows? It would be very useful to me if it would return a non...
2004 Sep 10
0
[Flac-users] Re: my flac -t issue: next approach
It can but is probably not as nice as youwould like. flac -t *.flac if errorlevel 1 goto fail goto exit :fail echo Danger Will Robinson! Flac files failed integrity check. :exit For this reason cygwin and its bash for windows does a lot more. Notes on the batch file fragment above: if errorlevel 1 goto actually means if errorlevel 1 or greater so don't try if errorlevel 0...
2008 Jun 17
4
different logon scripts and mappings for individual users
i'm not sure how to create different logon scripts for different users. right now i have one logon script called 'logon.bat' that maps all users to a server share and syncs the time with the server. i need to be able to map different users to different server shares. not all users should be mapped to all server shares. these should be automatic mappings. for example: user1 should
2006 Aug 14
4
append to path from login script?
I'm wondering if there is a way to add a network share (either UNC or mapped drive) to the path of a user when they login? for example have a directory \\smbserver\apps and put putty.exe in there.. so that when I sit down at a machine I will always have putty in the path.. Is that possible?
2001 Sep 27
2
IF MEMBER OF "GROUP" THEN
yes, we are using %g in the mapping of primary group based f drives, but these scripts I want to run I don't want to base on primary group. -----Original Message----- From: Mike Rees [mailto:samba@glanymor.carms.sch.uk] Sent: Thursday, September 27, 2001 5:40 AM To: barry@arhosting.com Subject: Re:IF MEMBER OF "GROUP" THEN Barry You can specify the file that is executed when a
2015 Nov 17
12
3.7.1-rc1 has been tagged. Let's begin testing!
Hi, I have just tagged 3.7.1-rc1, so it is ready for testing. As a reminder, when doing regression testing, use the 3.7.0 release as your baseline. Thanks, Tom
2008 Jun 19
6
login scripts --what to use
Hi, We're setting up a PDC, and would like to have a login script to deliver the mapped drives to users in particular groups, and connect to printers. The printer drivers come from the [print$], share. Does anyone have any good resources for this? What's the easiest and simplest thing to get going --vbscript or batch files? Thanks, chris
2005 Apr 04
1
Always exitcode 256 under Cygwin with rsync 2.6.4
I've upgraded all my Windows servers with the new released cwRsync version, so they're all running the latest rsync now. But this version seems to ignore exitcodes, since my batchscript does not restart the job when a timeout occurs. Before, rsync did set the errorlevel on exit, so my script knew what to do then. When you just give an empty rsync command, it should also exit with an exit code (1). But the errorlevel gets set to no. 256 instead. That couldn't be right. - Joost
2007 Nov 27
1
recovering "status" after q(status=n) in Windows
...ode in Windows, then type: 1. echo %status%: Windows echoes %status, indicating that the environment variable status was never set 2. echo %error level%: Windows echoes 1 (if i execute a normal quit command, i.e., without setting status, Windows echoes 0). So, it appears that in Windows, %errorlevel% is the (undocumented) equivalent of $status (Linux). However, in Windows, the value returned appears to be limited to either 0 (normal exit) or 1 (status set to a non-zero value) despite the claim that "valid values ... [are] 0:255 (as is the case in Linux). Does any one have an exp...
2008 Sep 03
5
universal netlogon script
Hi Guys, Advise, I have 200 users, they all have access to 20 shares in different combinations. They all have their own netlogon scripts... its a management nightmare, is there a way to create a universal netlogon script that I can include all the shares to mount and it will silently fail on the ones it cant? Perhaps there is a smarter way to implement this idea, lynching is welcome, so is
2019 Oct 28
3
How to Switch to Static Runtime and Enable C++ Exceptions?
I would really like to know about how to apply the patch for making MSVC-built LLVM executables lighter. But aside from that, I also want to know what LLVM does to CMake's default setting of /EHsc. I want to keep that setting on, but I can't figure out how. Any help is appreciated. Thanks in advance. P.S. The CMAKE_CXX_FLAGS variable isn't helping at all, otherwise I wouldn't
2016 Jun 06
1
[PATCH] v2v:windows: prevent Parallels drivers from loading at boot
...ozzo.com> --- v2v/convert_windows.ml | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/v2v/convert_windows.ml b/v2v/convert_windows.ml index 49811a7..012f03d 100644 --- a/v2v/convert_windows.ml +++ b/v2v/convert_windows.ml @@ -318,6 +318,7 @@ if errorlevel 3010 exit /b 0 debug "current ControlSet is %s" current_cs; disable_services root current_cs; + disable_prl_drivers root current_cs; disable_autoreboot root current_cs; Windows_virtio.install_drivers g inspect systemroot root cu...