Backing up Oracle with a bat batch file (provided the Oracle database client is configured)Create a dbbackup directory under the D-Disk directory to build a Dbbak.bat@echo off Echo ================================================ Echo automatic backup script for Oracle database in Windows echo 1. Use the current date to name the backup
1, want to run the program:C:\Program Files\Windows Media Player\wmplayer.exeC:\Program Files\haihaisoft Universal Player\hmplayer.exe2. On the desktop, "new text document. txt", by right-clicking on the desktop, creating a new -text document, copying the following and saving: Start c:\progra~1\window~1\wmplayer.exe Start c:\progra~1\haihai~1\hmplayer.exe (In batches, in addition to the start command , also note the changes in C:\progra~1\window~1 and
Every time on-line, we must first on the grayscale environment and then to the formal environment. In a grayscale environment, access to the grayscale environment is achieved by automatically acquiring the IP and changing the specified DNS. Concrete how to realize, we can Baidu by ourselves.Create a new text document, change the suffix to bat, open the file, and copy the code:@echo off: StartEcho============Please enter a number to select the next act
When using a batch file, you can use the following method to hit multiple cmd windows, and execute multiple commands in each window.Start is used to start an applicationCmd/k indicates that the window is not closed after the command after the CMD has finished executing. If you want to close the window after execution is complete, use/C. For more information, plea
Directly on the code:@EchoOffsetlocalsetlocalEnabledelayedexpansionSetPath= "C:\Users\llq\Desktop\test"Setsuf= "*.doc"rem%path% #使用变量 for/F "delims="%%i inch(‘dir/b/s/a-d%path%\%suf%‘) Do(SetH= "%%~Ni for %%j inch(a b c d e F g h i j k l m n o p q R S t u v w x y z) Do SetH= "!h:%%j=%%j!"Ren"%%i" "!h!"%suf%)endlocalNote:About the syntax in the code, do not understand can see my other cmd command syntax, or directly see the help of CMD. Copyright NOTICE: This article for Bo Master original articl
Windows cmd batch processing changes the file name to lowercase and cmd to lowercase
Directly run the Code:
@ Echo off setlocalsetlocal ENABLEDELAYEDEXPANSIONset path = "C: \ Users \ llq \ Desktop \ test" set suf = "*. doc "rem % path % # use variable for/f" delims = "% I in ('dir/B/s/a-d % path % \ % suf % ') do (set h = "% ~ Ni "for % j in (a B c d e f g h I
Windows installation Nodejs:
Node Download address: https://nodejs.org/download/Here is the 64bit.msi version.
Custom Installation path: D:\nodejs
To set the global installation save directory:
NPM config set prefix "D:\nodejs\node_global"
NPM config set cache "D:\nodejs\node_cache\" (first built Node_cache directory)
It is then installed directly into the global directory when the dependency is installed using the NPM-G command.
Install Express:
In windows, the scheduled execution of the batch file C: \> at -- help is invalid. The AT command is scheduled to run commands and programs on a specific date and time. To use the AT command, the scheduler service must be running. AT [\ computername] [[id] [/DELETE] |/DELETE [/YES] AT [\ computername] time [/INTERACTIVE] [/EVERY: date [,...] |/NEXT: date [,...] "
I used to set multiple ip addresses of different network segments on the local machine, and then switch the route so that different network segments can go out through different gateways, you can access multiple networks at the same time. However, I often find that some problems may occur, so I decided to use the most primitive method to solve the problem, that is, to use only the ip address of a certain network segment, in this way, you need to constantly change the IP address. Of course, this
I used to set multiple ip addresses of different network segments on the local machine, and then switch the route so that different network segments can go out through different gateways, you can access multiple networks at the same time. However, I often find that some problems may occur, so I decided to use the most primitive method to solve the problem, that is, to use only the ip address of a certain network segment, in this way, you need to constantly change the IP address. Of course, this
the "Trigger" option, click "New", create task Execution time, "Repeat task Interval" after the choice, there is time to choose, is hourly, or every minute, you can choose to modify the time , and then determine.Again to configure the need to perform the "action" is to select the program or BAT file, it is important that the configuration is to select the bat file, in the "Start from (optional)" Here must
Batch Modify file permissions in Windows 7
Previously, I set a folder to hide. After I reinstall the system, I found that I did not have the permission to modify the folder and could not be accessed or modified. I had to modify the permissions one by one.Then I searched for the solution on the Internet as follows:In the attachment-> command prompt-> right-click-
See also: http://blog.csdn.net/iw1210/article/details/39313677%date% Output: Yyyy/mm/dd week * (for example: 2008/12/18 Thursday)Reference format:%date:~x,y%x= start coordinates, y= the number of characters from XSuch as:%date:~0,4%-yyyy%date:~5,2%--mm%date:~8,2% to DDIf you remove the date formatted as YYYYMMDD:%date:~0,4%%date:~5,2%%date:~8,2%-->20081218%time% output is: hh24:mi:ss.ms (ex: 10:49:12.17)Reference format:%time:~x,y%x= start coordinates, y= the number of characters from XSuch as:%
Find an article on the Internet titled PostgreSQL windows automatic backup script
Http://blog.it580.com/1910
I thought it was good. After a try, I found that the execution of the batch processing file was stopped and I was prompted to enter the password.
> Pg_dump-u Postgres-W database1> C:/backup.tar> Password:
The method for automatically entering the passwo
Find a good example of learning Bat program code to share with you, the specific code is as follows:
@echo off
Route print-4 "10.0.0.0" | find "10.0.0.0" > Route_list
set gw=
for/f "Tokens=1-5"%%a in (' Typ E route_list ') do (
if not%%c "= =" (set gw=%%c)
)
if "%gw%" = "" (echo "fail to get eth0 default GW" amp; goto Error)
Route print-4 100.64.0.0 | find "%gw%" > NUL
if not "%errorlevel%" = "0" (
route-p Add 100.64.0.0 mask 255.192.0.0%gw% > NUL 2>1
)
if not "%errorlevel%" = = "0" (E
Reprint to http://my.oschina.net/u/660932/blog/117929One@echo offSetlocal enabledelayedexpansion:: Coder by Mark_li Powerd by IBAT 1.6CD "C:\Program files\mysql\mysql Server 5.5\bin":: Database name@set db=hrms:: User Name@set Username=root:: Password@set password=:: SQL Script to execute@set sqlpath= "C:\Program files\mysql\mysql Server 5.5\test_hrms.sql":: Connection to MySQL database and execute SQL script-F script execution, error continues execution--default-character-set Specifies the enco
Because I am in a place to often switch between different networks, such as local area network, system intranet and extranet (I will often switch between 3 ADSL networks). I have always used the method is to set up a number of different network segments of the IP, and then switch routes (Route), so that different network segments through different gateways out, you can access multiple networks at the same time to achieve the purpose. However, I found that there are often some problems, so I deci
Linux network-based batch installation tutorial, DHCP server + TFTP server + FTP Server + Kickstart file,
Preparation:
DHCP server
TFTP Server
FTP Server
Kickstart File
A client with a pxe rom chip that supports Network startup, that is, a bare metal that requires system installation
Linux image files
Here, a host prov
uploadify Batch upload file complete use of the tutorial for your reference, the specific content as follows
1. First prepare uploadify js file, a lot of online search
2. Upload page upfilepage.aspx
Key code:
GetFile () method in the background:
General handlers under 3.UploadAction folders
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.