|
I tried with and without the 'Call' command, but it didn't change anything.....
|
|
|
|
|
I think there are two case:
1. You want to control the application that is running by yourself you could use the PAUSE command[^] to terminate your batch process. After you close the application then you can press any key to continue.
2. If you want to run it automatically without user respond, you should create your batch file in a seperate file then schedule it to run by an estimate period. For schedule the batch file to run in a specific time check AT command[^] for more information.
A thousand mile of journey, begin with the first step.
APO-CEDC
Save Children Norway-Cambodia Office
|
|
|
|
|
I allready create ftp server but i have some problem about this, If i check box ANONYMOUS connection in Security account i can open any computer that i want but if i clear this check box it need the user name and
password but when i type the password i have the
porblem like below:
220 Microsoft FTP Service 500 'GET http://192.168.0.3/ HTTP/1.0': command not understood 421 Timeout (120 seconds): closing control connection. 421 Terminating connection.
AND
220 Microsoft FTP Service<br />
500 'GET ftp://atech@192.168.0.3/ HTTP/1.0': command not understood<br />
421 Timeout (120 seconds): closing control connection.<br />
421 Terminating connection.
but if i test in the local machine i can open all.
A thousand mile of journey, begin with the first step.
APO-CEDC
Save Children Norway-Cambodia Office
|
|
|
|
|
Hi, I used SYSKEY command set the security password for my computer but did not back up it to the diskette. Now I forget my password and could not access to my computer. Does any one have any idea to hack SYSKEY command or get the password that we forget from it system? sigh:
A thousand mile of journey, begin with the first step.
APO-CEDC
Save Children Norway-Cambodia Office
|
|
|
|
|
Hi, I have a problem with my PC. I don't know why my network card is disable. I'm sure that my PC don't have any other people to use and I don't made any change to my PC but this problem appear one time a month or in the next two month it might be appear again (base on my experience). Does anyone have an idea about this problem?
A thousand mile of journey, begin with the first step.
APO-CEDC
Save Children Norway-Cambodia Office
|
|
|
|
|
LINUX-FEDORA -- environment variables..
QUESTION 1. This may sound like a dump question (okay,it is a dump question):
CATALINA_HOME=/usr/local/tomcat-4.1.30
APACHE_HOME=/usr/local/apache2
ANT_HOME=/usr/local/ant
JAVA_HOME=/usr/java/j2sdk1.4.2_05
J2EE_HOME=/usr/java/j2sdkee1.3.1
PATH=$PATH:$JAVA_HOME/bin:$J2EE_HOME/bin
CLASSPATH=.:$J2EE_HOME/lib/j2ee.jar:$J2EE_HOME/lib/locale
export CATALINE_HOME
export APACHE_HOME
export ANT_HOME
export JAVA_HOME
export J2EE_HOME
export CLASS_PATH
What does command "export" do? I found this:http://www.er.uqam.ca/nobel/r10735/unixcomm.html
export - place the value of a variable in the calling environment (makes it global). This is a shell builtin.
But don't quite get what it means...
QUESTION 2: I placed the above script in file /etc/profile so environment variables get loaded everytime you go into console mode by "CTRL-ATL-F1" -- BUT, is this equivalent to "System" environment variables in Windows? I notice that this script wasn't executed if console is launched from "menu>System Tools>Terminal" (launched from desktop menu)... how can I get around this?
THanks!
Norman Fung
|
|
|
|
|
Export makes the variable available to programs started from your current shell. Without "export" the variable value is usable only in the shell script where it's defined.
Q2: Looks like the shell launched from System Tools->Terminal isn't a login shell, so it doesn't read /etc/profile. A workaround for this is to place the commands in a separate script in the /etc/profile.d directory so it gets sourced by /etc/bashrc. You should do this anyway for your own customizations instead of modifying the system /etc/profile script. Give the script a ".sh" suffix and make it executable.
BTW. you should subscribe to the Fedora mailing list, or use the forums at FedoraForum.org.
|
|
|
|
|
Thanks, yes, it's "bashrc" launched from "System Tools>Terminal" that's having problem. I've followed your instruction and placed a startup script (profile.sh) under "etc/profile.d" directory - it worked and it gets executed everytime bash is launched.
btw,
1. Why is it called "bashrc" and not "bash"? does "rc" stands for something? "root console" perhaps?
2. If any application is launched from Console (login shell or bashrc), then obviously the environment variables in my startup scripts (etc/profile.d/profile.sh) would be in effect. But what if the application is launched from side menu bar? profile.sh only runs when you launch "bashrc".
Norman Fung
|
|
|
|
|
|
My Biztalk 2004 configuration fails on the box that has Windows server 2003, Sharepoint Server 2003, SQL Server 2000, Analysis Services, Visual Studio 2003.
Here are the lines from the log file that I think will help:
[2:47:51 PM Info ConfigFramework] Retrieved cached IConfig object for feature: WMI ProgID: MSEBiz.BtsCfg
[2:47:51 PM Info ConfigFramework] Currently configuring: WMI
[2:47:51 PM Info BtsCfg] Entering function: CBtsCfg::ConfigureFeature
[2:47:51 PM Info BtsCfg] Configuring feature: WMI
[2:47:51 PM Info BtsCfg] Entering function: CBtsCfg::IsSelectedCreate
[2:47:51 PM Info BtsCfg] Leaving function: CBtsCfg::IsSelectedCreate
[2:47:51 PM Info BtsCfg] Entering function: CWMI::Connect
[2:47:51 PM Info BtsCfg] Leaving function: CWMI::Connect
[2:47:52 PM Info ConfigHelper] NT group BizTalk Server Administrators created successfully
[2:47:52 PM Info ConfigHelper NetAPI Info: ] The operation completed successfully.
[2:47:52 PM Info BtsCfg] Entering function: CWMI::CreateGroup
[2:47:52 PM Info ConfigFramework] Waiting for configuration thread to complete.
[2:48:02 PM Info ConfigFramework] Waiting for configuration thread to complete.
[2:48:12 PM Info ConfigFramework] Waiting for configuration thread to complete.
[2:48:22 PM Info ConfigFramework] Waiting for configuration thread to complete.
[2:48:32 PM Info ConfigFramework] Waiting for configuration thread to complete.
[2:48:42 PM Info ConfigFramework] Waiting for configuration thread to complete.
[2:48:51 PM Info BtsCfg] Entering function: CBtsCfg::IsSelectedCreate
[2:48:51 PM Info BtsCfg] Leaving function: CBtsCfg::IsSelectedCreate
[2:48:51 PM Info BtsCfg] Entering function: CWMI::CreateTrackingAnalysisServer
[2:48:51 PM Info BtsCfg] Entering function: CWMI::CreateAnalysisServerFromExe
[2:48:52 PM Info ConfigFramework] Waiting for configuration thread to complete.
[2:48:58 PM Info ConfigHelper] Feature: Engine is installed
[2:48:58 PM Info BtsCfg] Entering function: CWMI::CreateServer
[2:48:59 PM Error BtsCfg] c:\depot4000\jupiter\source\private\mozart\source\setup\btscfg\btswmi.cpp(395): FAILED hr = 80004005
[2:48:59 PM Error BtsCfg] Unspecified error
[2:48:59 PM Error BtsCfg] c:\depot4000\jupiter\source\private\mozart\source\setup\btscfg\btscfg.cpp(774): FAILED hr = 80004005
[2:48:59 PM Info BtsCfg] Leaving function: CBtsCfg::ConfigureFeature
[2:49:02 PM Info ConfigFramework] Waiting for configuration thread to complete.
[2:49:03 PM Info ConfigFramework] Showing MessageBox with text: Unspecified error Return Code: 2
==================================================================
Please let me know
thanks.
That's my story and I'm sticking to it!
|
|
|
|
|
I use Windows Media Player 10 for my media files. I also use media player for listening
to & previewing of songs and videos on music.msn.com and movies.msn.com. Since a
few days, i have all of a sudden started getting an error whenever i click on the
play/preview button on music.msn.com or movies.msn.com for any song or video clip.
The error states :
Windows Media Player cannot play the file because the specified protocol is not supported.
If you typed a URL in the Open URL dialog box, try using a different transport protocol
(for example, "http:" or "rtsp:").
the error still persists .. i hv even tried re-installing media player but to no
avail ... plz help me
--
Nikhil
|
|
|
|
|
|
I have cox communications business HSI (high speed internet) so I have all open ports and can run servers. I have a W2K3 server at home and can connect to my RDWC internal. I can bring up the server through IE on my laptop.
When I try and connect to my server outside my network I get the following errors:
(when I enter the IP address of my server)
http://jupiter.walagata.com/w/nvethis/error.JPG
(when I enter the server name)
http://jupiter.walagata.com/w/nvethis/error2.JPG
I have port forwarding enabled to my server for 80, 25, 110, 3389, etc.
Thanks for any help.
-Bryan
|
|
|
|
|
As far as I know, this require you to create VPN connection. Did you do that?
|
|
|
|
|
HI ,
Anybody have any ideas were i could find this tool (IIS Exception Monitor). or something similar??
Is it any good - i have a random problem were my main site just stops responding to any requests and when i try to stop the service (net stop w3svc) it fails to restart forcing me to reboot the machine to fix it.
|
|
|
|
|
|
Hi
I have a batch file that calls an executable to perform some pausing and resuming of services during a backup process. My question is there a way to have some error reporting in the batch file say a "script error" or something along those lines. Thanks in advance.
|
|
|
|
|
In my opinion, you may plan you code what to do when it will running. For example your code have 5 actions to perform, so at the end of each section you should write any code to output to the file to inform that it is running successfully. So when your batch file run it will output to the file or append to the file (base on what you specify) if the action in your code is running successfully, but if you write anything wrong and your code stop running unexpectly it won't write any result to the file (the file that you specify the path and file name). So you might know where the code is reach it process.
A thousand mile of journey, begin with the first step.
APO-CEDC
Save Children Norway-Cambodia Office
|
|
|
|
|
Hi there !
I would request for your esteemed opinion, in case you feel this could be of help in my context.
I have a peculiar problem. It goes as follows -
I have got a multithreaded windows ( windows 2000 ) app running.
I am using a CreateEvent() to create an event object. It goes like this -
CreateEvent(NULL, // no security attributes
TRUE, // manual reset event
FALSE, // not-signalled
"RASNOTIF_EV");
Subsequently using OpenEvent(), in the following manner -
RasEvnt = OpenEvent (SYNCHRONIZE | EVENT_MODIFY_STATE, FALSE, (LPCTSTR)"RASNOTIF_EV");
Now, on rare occassions the above OpenEvent call fails and the GetLastError retirns a value of 2; => ERROR_FILE_NOT_FOUND
I came across the following info in this context -
"The last parameter indicates the name of a kernel object. You cannot pass NULL for this parameter;
you must pass the address of a zero-terminated string.
The functions search the single name space of kernel objects attempting to find a match.
If no kernel object with the specified name exists, the functions return NULL and GetLastError returns 2 (ERROR_FILE_NOT_FOUND). "
In the context of the Windows 2000 API call OpenEvent, I seek to understand as to what might be causing this ? And, if this is because of an error at Kernel level because of whatever reasons - is it possible that the system reboots owing to this ?
Please share your esteemed thoughts on this critcial issue I am facing.
Thanks !
Please respond to -
s6_shah@yahoo.com
|
|
|
|
|
If you're trying to use the same event from two (or more) threads in the same app, simply use the same handle. Keep the handle in a global location, or pass it into the ThreadProc.
If you're trying to use the same event from two (or more) different apps (or instances of the same app), you'd typically call CreateEvent in each app's code. If you need to know whether this call actually created it, call GetLastError immediately after CreateEvent succeeds. If this call created the object, it will return 0 (ERROR_SUCCESS). If the object already existed, it will return ERROR_ALREADY_EXISTS.
I've never used OpenEvent.
I suspect the problem you're running into is some form of race condition - either the creator hasn't created it yet, or the other apps have quit and there are no handles open to it, so the kernel deletes it.
Stability. What an interesting concept. -- Chris Maunder
|
|
|
|
|
Hi, does anyone have a script that will let me query a AD OU and then list any accounts that are locked?
Thanks
Andrew
|
|
|
|
|
The information from here[^] will list all user account in active directory. The script from scripting center[^] might help you more idea.
A thousand mile of journey, begin with the first step.
APO-CEDC
Save Children Norway-Cambodia Office
|
|
|
|
|
My hard drive start to make a worring noise, so I decided to put in another drive and use Norton Ghost to clone the original hard drive.
The original hard drive was 80GB and the new one 120GB.
But when I first put in the second drive(jumper set to slave) the PC failed to boot. I checked the connections etc but only got it to work when I place the original cable into the Master drive and the spare connector connector in the slave drive.
My question is "Does it matter what connector you use for each drive"?
e.g. Original setup just the single drive (set as Master)
Motherboard----------<connector>----------<master>
This did not work
Motherboard----------<master>----------<slave>
But this did
Motherboard----------<slave>----------<master>
|
|
|
|
|
I would like give you some idea: Remove your 80GB hard drive then connect your 120GB drive and set jumper to master and detect in your CMOS. If it is working it mean that when you connect with 80GB you might set wrong jumper or did not configure properly in CMOS. But if you connect only 120GB and it is not working it might be your mainboard do not support the size of the hard disk drive. As far as I know each mainboard must have it limitation for other component when working together. Try to check your mainboard manual, how high the maximum capacity of hard disk drive that it will support.
A thousand mile of journey, begin with the first step.
APO-CEDC
Save Children Norway-Cambodia Office
|
|
|
|
|
I have both drives present on my computer and have cloned my other drive - not tested it yet.
The question was to do with the cable; I though it did not matter which way it was connected.
e.g.
original situation
<motherboard>--------<spare>-------------<old drive="">
now this did not work!
<motherboard>--------<old drive="">-------------<new drive="">
but this did
<motherboard>--------<newdrive>-------------<old drive="">
Are they anythink special with the cable (I thought it did not matter the way you connected the hard drives.
|
|
|
|