Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6981747
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T18:11:51+00:00 2026-05-27T18:11:51+00:00

I have this batch file @ECHO OFF ECHO Please Enter Path of the View,

  • 0

I have this batch file

@ECHO OFF

ECHO Please Enter Path of the View, you want to update in double quotes.

SET /P variable=
SET ECLIPSE=C:\Users\gdeep\Desktop\TED-4.3.0.20110512190809.lnk
SET WORKSPACE=C:\Users\gdeep\DevCodebase_2

:LOOP
ECHO Press 'g' for Graphical Interface and 'c' for Command line.
SET /P answer=

IF /I "%answer%"=="g" GOTO GRAPHICAL
IF /I "%answer%"=="c" GOTO COMMANDLINE
ECHO Invalid Input. Please Try Again.
GOTO LOOP

:GRAPHICAL
cleartool update -graphical %variable%
GOTO CONTINUE

:COMMANDLINE
cleartool update %variable%
GOTO CONTINUE

:CONTINUE

FOR /D %%i IN (%WORSPACE%) DO RD /S /Q "%%i" DEL /Q "%WORSPACE%\*.*"
START %ECLIPSE% -data %WORSPACE%

D:
chdir "%variable%"\v4electronics

ECHO Please Ensure that Server is killed.
PAUSE
mvn clean install -Dmaven.test.skip=true -Dresource.minify.skip=true

For deleting all the projects i used

  FOR /D %%i IN (%WORSPACE%) DO RD /S /Q "%%i" DEL /Q "%WORSPACE%\*.*"

Can anyone explain this to me? I copied it from somewhere and don’t want to use it without understanding.
Problem with using above command is althout it seem to work, i see
The system cannot find the file specified.
The system cannot find the path specified.
as the output.
Also, the way i am deleting, will it be equivalent to if i delete them from the eclipse, by select all projects and deleting?

Another problem here is that when i have .

 mvn clean install -Dmaven.test.skip=true -Dresource.minify.skip=true

in the end it works fine, otherwise, if there is any other command after it, those commands doesn’t run.

After this, I then wanna import all maven projects from the Clearcase %Variable%.
And i want to do that by command line only. Can you help me with that?

Thanks for your help.
Appreciate your time.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T18:11:51+00:00Added an answer on May 27, 2026 at 6:11 pm

    Please correct me, If I’m wrong. I understand that you’re in the MS-Windows environment.

    Regarding to the question about if there is another command after the “mvn …”, they are ignored.

    I use the “call” as the following: –

    cd project1
    call mvn clean install
    
    cd project2
    call mvn clean install
    

    I hope this may help.

    Regards,

    Charlee Ch.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a simple batch file like this: echo off taskkill /im test.exe /f
I have this simple little batch file program that I wrote but it fails
I have a batch file and I need to invoke it like this mybatch.bat
I have a hard time understanding the following batch script: @echo off echo b>b.txt
I have made this batch script which will allow the user to enter a
I have a Windows batch file I'm creating, but I have to ECHO a
I have this batch file to export two files from svn. But it never
@echo off start /wait notepad start worpad This is the code i have written
BATCH FILE to remove duplicate strings (containing Double Quotes); and keep blank lines Note:
I have this batch that needs to run that the user has to execute

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.