• Home
  • Welcome
  • Software solutions
  • Management
  • Knowledge base
    • About KB
  • Contact
Switcher

Archive

Archive for July, 2009

Getting the location of an executing batch script (.bat file)

July 24th, 2009
No comments

A Windows batch script (.bat file) has an associated directory; the current working folder. It can be accessed in a batch file by the system variable %cd%. If instead, you want to obtain the location of the currently executing script, use %~dp0.

Note that both may be the same, but are not necessarily.

Uncategorized

RSS feed
  • Google
  • Youdao
  • Xian Guo
  • Zhua Xia
  • My Yahoo!
  • newsgator
  • Bloglines
  • iNezha

Tags

apache array bash classpath clone code color config cygwin dimensions Eclipse Google Desktop Search htaccess htpasswd java ls Maven mean mobile phone multidimensional array Samsung standard deviation

Recent Posts

  • Deploying a pre-existing bundle on OSGi OBR
  • Felix Gogo shell command examples & cheat sheet
  • Maven Eclipse (m2e) SCM connector for subclipse 1.10 (svn 1.8)
  • Associate files without extension to a given programm or editor
  • Install plugins in Eclipse in Windows 7

Categories

  • java
  • maven
  • osgi
  • Uncategorized

Archives

  • September 2014
  • June 2014
  • December 2013
  • January 2013
  • July 2011
  • January 2011
  • December 2010
  • March 2010
  • January 2010
  • October 2009
  • September 2009
  • July 2009
  • May 2009
  • April 2009
  • January 2009

Meta

  • Log in
Top buluschek development
Copyright © 2009-2014 buluschek development