Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
54c2f649
Commit
54c2f649
authored
Sep 06, 2011
by
Frédéric Delanoy
Committed by
Alexandre Julliard
Sep 06, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cmd: Get rid of obsolete autoexec.bat handling code.
parent
df699a89
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
16 deletions
+0
-16
wcmdmain.c
programs/cmd/wcmdmain.c
+0
-16
No files found.
programs/cmd/wcmdmain.c
View file @
54c2f649
...
...
@@ -2252,11 +2252,8 @@ int wmain (int argc, WCHAR *argvW[])
WCHAR
*
cmd
=
NULL
;
WCHAR
string
[
1024
];
WCHAR
envvar
[
4
];
HANDLE
h
;
int
opt_q
;
int
opt_t
=
0
;
static
const
WCHAR
autoexec
[]
=
{
'\\'
,
'a'
,
'u'
,
't'
,
'o'
,
'e'
,
'x'
,
'e'
,
'c'
,
'.'
,
'b'
,
'a'
,
't'
,
'\0'
};
static
const
WCHAR
promptW
[]
=
{
'P'
,
'R'
,
'O'
,
'M'
,
'P'
,
'T'
,
'\0'
};
static
const
WCHAR
defaultpromptW
[]
=
{
'$'
,
'P'
,
'$'
,
'G'
,
'\0'
};
char
ansiVersion
[
100
];
...
...
@@ -2575,19 +2572,6 @@ int wmain (int argc, WCHAR *argvW[])
}
/*
* If there is an AUTOEXEC.BAT file, try to execute it.
*/
GetFullPathNameW
(
autoexec
,
sizeof
(
string
)
/
sizeof
(
WCHAR
),
string
,
NULL
);
h
=
CreateFileW
(
string
,
GENERIC_READ
,
FILE_SHARE_READ
,
NULL
,
OPEN_EXISTING
,
FILE_ATTRIBUTE_NORMAL
,
NULL
);
if
(
h
!=
INVALID_HANDLE_VALUE
)
{
CloseHandle
(
h
);
#if 0
WCMD_batch (autoexec, autoexec, 0, NULL, INVALID_HANDLE_VALUE);
#endif
}
/*
* Loop forever getting commands and executing them.
*/
...
...
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