VS2003 program to read-only and compile commands

Source: Internet
Author: User

<span style= "font-family:arial, Helvetica, Sans-serif; Background-color:rgb (255, 255, 255); >VS2003 program to read-only and compile commands </span>

1. Read-only file: Alterreadonly.bat

@echo on
for/r%%a in (bin\*.*) do attrib-a-s-h-r%%a/s pause for/r%%a in
(debug\*.*) do attrib-a -s-h-R  %%a/s  
Pause

2.VS2003 compilation

Build2003-debug.bat

@echo off
 
 
: Start
 set work_disk=%~d0
 set work_dir=%~dp0
 
 
 cd\
 C:
 CD%vs71comntools% 
 Call Vsvars32.bat
  
  devenv  %work_dir%\ overall solution. sln/build  Debug
pause
@echo off


delvss-Delete hidden files

delvss-Delete hidden files. bat

DEL/S/F *.SCC
del/s/f/a h *.scc
del/s/F *.VSPSCC del/s/ 
F *.VSSSCC 


Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.