• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

<Cfexecute >not executing CVS commands ina bat file

New Here ,
Jan 24, 2007 Jan 24, 2007

Copy link to clipboard

Copied

We are running CF 7.0 on Windows server.
I am creating a bat file containing both DOS commands and CVS commands.

When executing the bat file via <CFexecute> the DOS commands execute, but the CVS commands do not.

When running the bat file from the DOS command prompt, all commands (DOS and CVS) run as expected.

Anyone have any ideas?

Thanks
TOPICS
Advanced techniques

Views

424

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jan 24, 2007 Jan 24, 2007

Copy link to clipboard

Copied

Anyone have any ideas?

Any chance these commands need some type of user permissions that YOU
have, but that the ColdFusion service does not?

That happens sometimes.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jan 24, 2007 Jan 24, 2007

Copy link to clipboard

Copied

That could be an issue. I am however using my login and password in the commands

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jan 25, 2007 Jan 25, 2007

Copy link to clipboard

Copied

LATEST
On Wed, 24 Jan 2007 23:03:48 +0000 (UTC), JRoccaforte wrote:

> That could be an issue. I am however using my login and password in the commands

Ian didn't mean the CVS permissions, he meant the filesystem / OS
permissions. The a/c that ColdFusion uses to access the file system and
other system resources is very limited, by default.

You need to login (to the OS) as the a/c CF is using, and see if you can
execute your batch file.

--
Adam

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation