Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
GetAdocUI
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
QCD
Tools
GetAdocUI
Commits
a52ec000
Commit
a52ec000
authored
Dec 02, 2021
by
tsuji
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.batファイル参照の方法をカレントディレクトリの取得からモジュールパスの取得に変更
parent
7a73afe9
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
2 deletions
+3
-2
RunBatch.cs
GetADoc/RunBatch.cs
+3
-2
GetADocGUI.exe
Release/GetADocGUI.exe
+0
-0
GetADocGUI.pdb
Release/GetADocGUI.pdb
+0
-0
No files found.
GetADoc/RunBatch.cs
View file @
a52ec000
...
...
@@ -57,8 +57,9 @@ namespace GetADoc
//コンソール呼び出し
ProcessStartInfo
processStartInfo
=
new
ProcessStartInfo
();
string
stCurrentDir
=
System
.
IO
.
Directory
.
GetCurrentDirectory
();
processStartInfo
.
FileName
=
System
.
IO
.
Path
.
Combine
(
stCurrentDir
,
"getADoc.Data"
,
"getADoc.bat"
);
string
appPath
=
System
.
Reflection
.
Assembly
.
GetExecutingAssembly
().
Location
;
//モジュールのパスを取得
string
appDirectory
=
appPath
.
Substring
(
0
,
appPath
.
LastIndexOf
(
@"\"
)
+
1
);
//モジュールの存在するディレクトリを取得
processStartInfo
.
FileName
=
System
.
IO
.
Path
.
Combine
(
appDirectory
,
"getADoc.Data"
,
"getADoc.bat"
);
processStartInfo
.
CreateNoWindow
=
true
;
// コマンドプロンプトを非表示
processStartInfo
.
UseShellExecute
=
false
;
// シェル機能オフ
...
...
Release/GetADocGUI.exe
View file @
a52ec000
No preview for this file type
Release/GetADocGUI.pdb
View file @
a52ec000
No preview for this file type
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment